Chiki Wiki chiki_en https://chiki.wiki.gg/wiki/Chiki_Wiki MediaWiki 1.39.0 first-letter Media Special Talk User User talk Chiki Wiki Chiki Wiki talk File File talk MediaWiki MediaWiki talk Template Template talk Help Help talk Category Category talk Forum Forum talk GeoJson GeoJson talk User blog User blog comment Blog Blog talk Module Module talk Message Wall Thread Message Wall Greeting Board Board Thread Topic Gadget Gadget talk Gadget definition Gadget definition talk Map Map talk Main Page 0 1 1 2021-11-29T15:17:56Z MediaWiki default 0 wikitext text/x-wiki <strong>MediaWiki has been installed.</strong> Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software. == Getting started == * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ] * [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki] 5702e4d5fd9173246331a889294caf01a3ad3706 2 1 2022-07-01T16:20:48Z FANDOM 26064 FANDOM moved page [[Main Page]] to [[Chiki Wiki]]: SEO wikitext text/x-wiki #REDIRECT [[Chiki Wiki]] 6b29fd11123b96e0c68e5b6aa368f668e13ea22c Category:Notice templates 14 3 5 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:Templates]]" wikitext text/x-wiki [[Category:Templates]] 06eecdec29f6cb215c99cf216d1e3bdc8c30a95e Category:Wiki skin images 14 4 6 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:Images]]" wikitext text/x-wiki [[Category:Images]] 8820b63e35aedd9d2666fe40b965d4e91ce0a106 Template:LGPL 10 7 13 2022-07-01T16:20:48Z FANDOM 26064 Created page with " {{LicenseBox|text=''This work is licensed under the [https://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License].''}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | <incl..." wikitext text/x-wiki {{LicenseBox|text=''This work is licensed under the [https://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License].''}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | <includeonly>[[Category:LGPL files]]</includeonly>}}<noinclude> {{documentation}}</noinclude> 066b54eb9300540d46a07b5148865821bd3b2f08 Template:GFDL/doc 10 8 14 2022-07-01T16:20:48Z FANDOM 26064 Created page with ";Description :This template is used to mark images using the GFDL. ;Syntax :Type <code>{{t|GFDL}}</code> on the image information page. <includeonly>Category:Image lic..." wikitext text/x-wiki ;Description :This template is used to mark images using the GFDL. ;Syntax :Type <code>{{t|GFDL}}</code> on the image information page. <includeonly>[[Category:Image license templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> cb8fb84dfc8e1d8b8544fdff7530dce231764a63 Template:Topic 10 10 16 2022-07-01T16:20:48Z FANDOM 26064 Created page with "<includeonly>{{#sub:{{#replace:{{SITENAME}}| Wiki}}|-{{#len:{{#replace:{{SITENAME}}| Wiki}}}}-1}}</includeonly><noinclude>{{documentation}}</noinclude>" wikitext text/x-wiki <includeonly>{{#sub:{{#replace:{{SITENAME}}| Wiki}}|-{{#len:{{#replace:{{SITENAME}}| Wiki}}}}-1}}</includeonly><noinclude>{{documentation}}</noinclude> e8c5bb53e6d20ba0b81fcfa08813051675219442 Template:Quote 10 11 17 2022-07-01T16:20:48Z FANDOM 26064 1 revision imported wikitext text/x-wiki {{#invoke:Quote|quote}}<noinclude>{{Documentation}}<!-- For a more traditional wikitext version of this template, see https://starter.fandom.com/wiki/Template:Quote?oldid=4277 --></noinclude> bf6ed2ef0e8d676125dfd9d9b8b8ad72a18049e3 Template:Episode 10 13 19 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <includeonly><infobox type="Episode"> <title source="title"/> <image source="image"><caption source="imagecaption"/></image> <data source="partOfSeason"><label>Season</label></data> <data source="episodeNumber"><label>Episode</label></data> <data source="airDate"><label>Air date</label></data> <data source="writer"><label>Writer</label></data> <data source="director"><label>Director</label></data> <group layout="horizontal"> <header>Episode guide</header> <data source="previousEpisode"><label>Previous</label></data> <data source="nextEpisode"><label>Next</label></data> </group> </infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Episodes]]}}</includeonly><noinclude>{{Documentation}}</noinclude> 222b04973118bf9a11e3e5f3a034c07b6ec30fee Module:Namespace detect/config/doc 828 15 21 2022-07-01T16:20:48Z FANDOM 26064 Created page with "This module stores configuration data for Module:Namespace detect. Here you can localise the module to your wiki's language. To activate a configuration item, you need to u..." wikitext text/x-wiki This module stores configuration data for Module:Namespace detect. Here you can localise the module to your wiki's language. To activate a configuration item, you need to uncomment it. This means that you need to remove the text "-- " at the start of the line. 5b3ec654956a66588b67fedc310584e2769e6f5c Category:Hatnote templates with errors 14 16 22 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:Maintenance]]" wikitext text/x-wiki [[Category:Maintenance]] a106a39e26c77e7b2ec90cb83728a6446cb6a1a1 Template:For 10 17 23 2022-07-01T16:20:48Z FANDOM 26064 1 revision imported wikitext text/x-wiki <includeonly>{{#invoke:Hatnote|For}}</includeonly> <noinclude>{{Documentation|:Template:Hatnote/doc}}<!-- For a more traditional wikitext version of this template, see https://templates.fandom.com/wiki/Template:Hatnote --></noinclude> 6caebf265784c02a3dba04fe77eb5c5afb52fbd4 Template:LGPL/doc 10 19 25 2022-07-01T16:20:48Z FANDOM 26064 Created page with ";Description :This template is used to mark images using the LGPL. ;Syntax :Type <code>{{t|LGPL}}</code> on the image information page. <includeonly>Category:Image lic..." wikitext text/x-wiki ;Description :This template is used to mark images using the LGPL. ;Syntax :Type <code>{{t|LGPL}}</code> on the image information page. <includeonly>[[Category:Image license templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> a1352dd235ba24762d42130c24a5a7971e1cdd31 Module:Namespace detect/data/doc 828 21 29 2022-07-01T16:20:48Z FANDOM 26064 Created page with "This module holds data for [[Module:Namespace detect]] to be loaded per page, rather than per #invoke, for performance reasons." wikitext text/x-wiki This module holds data for [[Module:Namespace detect]] to be loaded per page, rather than per #invoke, for performance reasons. 4b5f88c95a81f026633adaae2556eeaa2896fd6f Category:Template documentation 14 22 30 2022-07-01T16:20:48Z FANDOM 26064 Created page with "The templates in this category contain documentation about other templates. The are automatically put here by the {{T|Documentation}} template. [[Category:Templates]]" wikitext text/x-wiki The templates in this category contain documentation about other templates. The are automatically put here by the {{T|Documentation}} template. [[Category:Templates]] e1cf9416700d7877b308b2f9051b33cd028dd11d Template:Cite web 10 23 31 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <includeonly>{{ #if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}} ||Error on call to [[Template:cite web]]: Parameters '''url''' and '''title''' must be specified }}{{ #if: {{{archiveurl|}}}{{{archivedate|}}} | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}} ||Error on call to [[template:cite web]]: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted }} }}{{#if: {{{author|}}}{{{last|}}} | {{#if: {{{authorlink|}}} | [[{{{authorlink}}}|{{#if: {{{last|}}} | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }} | {{{author}}} }}]] | {{#if: {{{last|}}} | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }} | {{{author}}} }} }} }}{{#if: {{{author|}}}{{{last|}}} | {{#if: {{{coauthors|}}}| <nowiki>;</nowiki>&#32;{{{coauthors}}} }} }}{{#if: {{{author|}}}{{{last|}}}| {{#if: {{{date|}}} | &#32;({{{date}}}) | {{#if: {{{year|}}} | {{#if: {{{month|}}} | &#32;({{{month}}} {{{year}}}) | &#32;({{{year}}}) }} }} |}} }}{{#if: {{{last|}}}{{{author|}}} | .&#32;}}{{ #if: {{{editor|}}} | &#32;{{{editor}}}: }}{{#if: {{{archiveurl|}}} | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}} | {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}} }}{{#if: {{{language|}}} | &#32;<span style="font-size: 0.95em; font-weight: bold; color:#555; position: relative;">({{{language}}})</span> }}{{#if: {{{format|}}} | &#32;({{{format|}}}) }}{{#if: {{{work|}}} | .&#32;''{{{work}}}'' }}{{#if: {{{pages|}}} | &#32;{{{pages}}} }}{{#if: {{{publisher|}}} | .&#32;{{{publisher}}}{{#if: {{{author|}}}{{{last|}}} | | {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }} }} }}{{#if: {{{author|}}}{{{last|}}} ||{{#if: {{{date|}}} | &#32;({{{date}}}) | {{#if: {{{year|}}} | {{#if: {{{month|}}} | &#32;({{{month}}} {{{year}}}) | &#32;({{{year}}}) }} }} }} }}.{{#if: {{{archivedate|}}} | &#32;Archived from [{{{url}}} the original] on {{#time:F j, Y|{{{archivedate}}}}}{{#if: {{{archiveyear|}}} | , {{{archiveyear}}} }}. }}{{#if: {{{accessdate|}}} | &#32;Retrieved on {{#time:F j, Y|{{{accessdate}}}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}. }}{{#if: {{{accessmonthday|}}} | &#32;Retrieved on {{{accessmonthday}}}, {{{accessyear}}}. }}{{#if: {{{accessdaymonth|}}} | &#32;Retrieved on {{{accessdaymonth}}} {{{accessyear}}}. }}{{#if: {{{quote|}}} | &nbsp;“{{{quote}}}” }}</includeonly><noinclude>{{documentation}} </noinclude> 06085b03744dda1cb654deed7c8e92495d7593a6 Template:Space 10 24 32 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <includeonly>&#32;</includeonly><noinclude> {{documentation}}</noinclude> e1c3d6d869303e7cc9d8a997c69b01995b7e4928 Template:Clear 10 25 33 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <includeonly><div style="clear:{{{1|both}}}"></div></includeonly><noinclude> {{documentation}}</noinclude> 02f4c0e17d50c41f902cad74e6d937f585ba4719 Chiki Wiki 0 28 36 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <mainpage-leftcolumn-start /> <div style="text-align: center; font-size: x-large; padding: 1em;">'''Welcome to the {{SITENAME}}!'''</div> Game information for the video game Chiki's Chase We're a collaborative community website about {{topic}} that anyone, including you, can build and expand. Wikis like this one depend on readers getting involved and adding content. Click the "ADD NEW PAGE" or "EDIT" button at the top of any page to get started! ==Important articles== <gallery position="center" captionalign="center" navigation="true"> File:Placeholder | [[A page about your topic]] |link=A page about your topic File:Placeholder | [[A Main Character]] |link=A Main Character File:Placeholder | [[The First Episode]] |link=The First Episode File:Placeholder | [[An Important Location]] |link=An Important Location File:Placeholder | [[A Key Event]] |link=A Key Event File:Placeholder | [[A Crucial Item]] |link=A Crucial Item </gallery> <!-- The gallery above works well for individual articles, but it would also be good to have another below it that points to important Category: pages. --> <mainpage-endcolumn /> <mainpage-rightcolumn-start /> ''Need help building out this community?'' *[[Project:Wiki rules|Rules of this wiki]] *[[w:c:community:Help:Getting Started|Getting Started]] *[[w:c:community:Help:Contributing|How to Contribute]] *[[w:c:community:Help:Community Management|Managing your new community]] *[[w:c:community:Help:Contents|Guides]] *[[w:c:community:Help:Index|All Help articles]] You can also be part of the larger Fandom family of communities. Visit [[w:c:community|Fandom's Community Central]]! ''Community Founders'': Write a good and paragraph-length description for your welcome section about your topic. Let your readers know what your topic is about and add some general information about it. Then you should visit [[Special:AdminDashboard|the admin dashboard for more tips]]. <mainpage-endcolumn /> [[Category:{{SITENAME}}]] 702df6f6ffe638ab3f36732340511775f22b9330 Category:Stubs 14 31 41 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki __EXPECTUNUSEDCATEGORY__ This category contains articles that are incomplete and are tagged with the {{T|Stub}} template. [[Category:Maintenance]] 0ec95b0d8542e012132ff79db688797e78439093 File:Example.jpg 6 32 42 2022-07-01T16:20:48Z FANDOM 26064 {{PD}} [[Category:Images]] wikitext text/x-wiki == Summary == {{PD}} [[Category:Images]] b45ad4275ad2f01c536d8fee443ea7264309586b Category:Images 14 33 43 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:Media]]" wikitext text/x-wiki [[Category:Media]] b141d2b9971d6efe9f59bd03449781e71411c631 Template:Stub/doc 10 34 44 2022-07-01T16:20:48Z FANDOM 26064 Created page with " ;Description :This template is used to identify a stub. Any pages using this template will be automatically placed in the [[:Category:Stubs|Stubs]] category. <includeonl..." wikitext text/x-wiki ;Description :This template is used to identify a stub. Any pages using this template will be automatically placed in the [[:Category:Stubs|Stubs]] category. <includeonly>[[Category:Notice templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> fe9e5e7f5e645666194f69dc88d7d12b5429e8f8 File:Favicon.ico 6 35 45 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki == Licensing == {{CC-BY-SA}} [[Category:Wiki skin images]] 4d9dc3162be921e39ea7166659dae4b8fe461b71 Template:Fairuse/doc 10 38 48 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description :This template is used to mark images as fair use. ;Syntax :Type <code>{{t|fairuse}}</code> on the image information page. <includeonly>[[Category:Image license templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> a0b1f9487b6ecaaa0f6ea70533a69c17d42e01ff MediaWiki:Mainpage 8 40 51 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki Main Page 29b077bd4b72e57c6500fdd2d77e1a8b60f2816b 52 51 2022-07-01T16:20:48Z FANDOM 26064 SEO wikitext text/x-wiki Chiki Wiki 5974fe563dc00bc3823c4a76a746faf6ea660687 Template:Dialogue 10 41 53 2022-07-01T16:20:48Z FANDOM 26064 1 revision imported wikitext text/x-wiki <includeonly><blockquote data-format="dialogue">{{#invoke:Dialogue|main}}</blockquote></includeonly><noinclude>{{Documentation}}<!-- For a more traditional wikitext version of this template, see https://templates.fandom.com/wiki/Template:Dialogue --></noinclude> 400ad4d61c7eff1f67db8a2116441090d803cb3d Module:Mbox/data 828 44 58 2022-07-01T16:20:48Z FANDOM 26064 Scribunto text/plain local localStyle = { ['mbox'] = { ['display'] = 'flex', ['position'] = 'relative', ['border'] = '1px solid #d6d6d6', ['border-left-width'] = '8px', ['border-left-color'] = '#d6d6d6', ['border-radius'] = '3px', ['margin-bottom'] = '5px', ['min-height'] = '32px' }, ['mbox__content'] = { ['display'] = 'table', ['box-sizing'] = 'border-box', ['width'] = '100%', ['padding'] = '8px 15px' }, ['mbox__content__image'] = { ['display'] = 'table-cell', ['width'] = '40px', ['height'] = '100%', ['text-align'] = 'center', ['vertical-align'] = 'middle', ['padding-right'] = '15px' }, ['mbox__content__wrapper'] = { ['display'] = 'table-cell', ['vertical-align'] = 'middle' }, ['mbox__content__header'] = { ['display'] = 'block', ['font-weight'] = 'bold' }, ['mbox__content__text'] = { ['display'] = 'block' }, ['mbox__content__text__comment'] = { ['font-size'] = 'small' }, ['mbox__content__aside'] = { ['display'] = 'table-cell', ['width'] = '100px', ['vertical-align'] = 'middle', ['text-align'] = 'center', ['padding-left'] = '15px', ['border-left'] = '1px solid #d6d6d6' }, ['mbox__close'] = { ['position'] = 'absolute', ['right'] = '0', ['top'] = '0', ['padding'] = '2px 7px', ['font-weight'] = 'bold', ['font-size'] = '16px', ['color'] = '#bbb', ['cursor'] = 'pointer', ['transition'] = 'all .15s ease-in' } } return { localStyle = localStyle } 7afdc5979e3b8bc8d21b52929058ba24c351dbdc Template:Quote/doc 10 45 59 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ==Description== To use this template, enter the following and fill in the appropriate fields. Most fields left blank will not show up. ==Syntax== <pre> {{Quote | quote = | speaker = | source = }} </pre> As an alternative, these can be placed in positional order. ==Samples== {{Quote | quote = When you play the game of thrones, you win or you die. | speaker = [[w:c:gameofthrones:Cersei Lannister|Cersei Lannister]] | source = [[w:c:gameofthrones:You Win or You Die|"You Win or You Die"]] }} <pre> {{Quote | quote = When you play the game of thrones, you win or you die. | speaker = [[w:c:gameofthrones:Cersei Lannister|Cersei Lannister]] | source = [[w:c:gameofthrones:You Win or You Die|"You Win or You Die"]] }} </pre> or <pre> {{Quote | When you play the game of thrones, you win or you die. | [[w:c:gameofthrones:Cersei Lannister|Cersei Lannister]] | [[w:c:gameofthrones:You Win or You Die|"You Win or You Die"]] }} </pre> == Technical details == This template uses the [[w:Help:Lua|Lua templating language]], and more information can be found [[w:c:dev:Global_Lua_Modules/Quote|on the Global Lua Module page]]. '''For a traditional wikitext version of this template, see [[w:c:templates:Template:Quote|Quote on Templates Wiki]]'''. <includeonly>[[Category:Quote templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 9257007bdd810476e8723e435841c3f133a204f2 Template:Cols 10 48 62 2022-07-01T16:20:48Z FANDOM 26064 Modern and supported browsers no longer need vendor-specific prefixes for column-count wikitext text/x-wiki <includeonly><div style="column-count: {{{1}}};">{{{2}}}</div></includeonly><noinclude> {{documentation}}</noinclude> 7e455c29d8571535f2a7692bcd711e2d0547441c Category:Navbox templates 14 51 65 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:Templates]]" wikitext text/x-wiki [[Category:Templates]] 06eecdec29f6cb215c99cf216d1e3bdc8c30a95e Template:Delete/doc 10 53 67 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description :This template is used to mark pages for deletion, categorizing them in [[:Category:Candidates for deletion]]. ;Syntax :Type <code>{{t|delete}}</code> on the page to be deleted.''' <includeonly>[[Category:Notice templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> baa263e149fb470c182f0de3af57178739e61a86 Template:Permission/doc 10 55 70 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description :This template is used to mark images as being copyrighted, but the copyright holder has given permission for its use. ;Syntax :Type <code>{{t|permission}}</code> on the image information page. <includeonly>[[Category:Image license templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> e2fc5fa15609d14fe9de91b503904f2b3f363afa Template:PD/doc 10 59 74 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description :This template is used to mark images as being in the public domain. ;Syntax :Type <code>{{t|PD}}</code> on the image information page. <includeonly>[[Category:Image license templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> bf14002371e6786761dfb4a58f4fdaf44062b8cc Template:Album/doc 10 60 75 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki == Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infobox|Fandom's infobox syntax]]. == Syntax == <pre> {{Album | title = | image = [e.g. "Example.jpg"] | imagecaption = | artist = | released = | recorded = | length = | label = | producer = }} </pre> == Sample output == {{Album | title = Fleur | image = Example.jpg | artist = Marigold | released = June 2012 | recorded = 2011 | length = 88:88 | label = Spring | producer = Daffy }} <pre> {{Album | title = Fleur | image = Example.jpg | artist = Marigold | released = June 2012 | recorded = 2011 | length = 88:88 | label = Spring | producer = Daffy }} </pre><includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 34c5cd77d0a20c3509b82f0386c7429a8b47a5fb File:Wiki.png 6 61 76 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki [[Category:Wiki skin images]] f0235f85e2414431e046ae251792bf050daef5f7 Template:Trim/doc 10 62 77 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description This template trims whitespace from the beginning and end of the supplied value. It works by using the simple hack of filtering it through the <code>#if</code> parser function. ;Syntax <nowiki>{{trim| value }}</nowiki> <includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> f1f126e3f6fe8474d693ec499d71a9c4067043f9 Template:Cols/doc 10 63 78 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description This template formats the text into the specified number of columns. ;Syntax <pre>{{cols|<# of columns>|<content>}}</pre> Especially useful to wrap long lists of items into multiple columns. <includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 763fc74c9235663a500bcc69a50d425c77c16cb0 Template:Documentation 10 65 80 2022-07-01T16:20:48Z FANDOM 26064 Remove aria complementary role because it's incorrect in this context; see: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/complementary_role wikitext text/x-wiki <includeonly>{| class="article-table plainlinks" style="width:100%;" |- style="font-size:18px;" ! style="padding:0px;" | <div style="width:100%; padding:3px 0px; text-align:center;" class="color1">Template documentation</div> |- | ''Note: portions of the template sample may not be visible without values provided.'' |- | View or edit [[{{{1|Template:{{PAGENAMEE}}/doc}}}|this documentation]]. ([[Template:Documentation|About template documentation]]) |- | Editors can experiment in this template's [{{fullurl:{{FULLPAGENAMEE}}/sandbox|action=edit}} sandbox] and [{{fullurl:{{FULLPAGENAMEE}}/testcases}} test case] pages. |} <div style="margin:0 1em;"> {{{{{1|{{PAGENAME}}/doc}}}}}</div></includeonly><noinclude>{{Documentation}}[[Category:Documentation templates]]</noinclude> 75b0cad7de45e5705cd5bd244f3b20d1d9954aad Template:CC-BY-SA 10 67 82 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki {{LicenseBox|text=''This file is licensed under the [http://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-Share Alike License].''}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | <includeonly>[[Category:CC-BY-SA files]]</includeonly>}}<noinclude> {{documentation}}</noinclude> b7cc0c0ae4d0cbff86fb66f332cdbfd9ef0c67f1 Template:Fairuse 10 68 83 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki {{LicenseBox|text=''This file is copyrighted. It will be used in a way that qualifies as fair use under US copyright law.''}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | <includeonly>[[Category:Fairuse files]]</includeonly>}}<noinclude> {{documentation}}</noinclude> 5db6645c70193dbeb65eed77de07f36451e1145c Category:Blog posts 14 69 84 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki This is an automatically generated list of blog posts [[Category:Community]] 864f70c2af84fd84c1901d154b90eb4facc9f37c Template:Delete 10 70 85 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki {{MessageBox |header = Candidate for deletion |type = delete |text = This page has been nominated for removal from the wiki. |comment = Remember to check [[Special:Whatlinkshere/{{FULLPAGENAME}}|what links here]] and [{{fullurl:{{FULLPAGENAME}}|action=history}} the page history] before deletion. |class = notice hidden plainlinks |id = delete }}<includeonly>[[Category:Candidates for deletion]]</includeonly><noinclude> {{Documentation}}</noinclude> 4173b2533a1aa36de4f2777956f1eae8889808ba Template:LicenseBox 10 73 88 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <includeonly><div style="border-collapse: collapse; border-color: #d6d6d6; border-radius: 3px; border-style: solid; border-left-width: 8px; border-bottom-width: 1px; border-right-width: 1px; border-top-width: 1px; display: flex; margin: 0 auto 5px auto; min-height: 32px; padding: 0.25em 0.5em; {{{style|}}}" class="article-table plainlinks {{{class|}}}"> {{#if:{{{image|}}} | <span style="padding: 2px 0px 2px 0.5em; text-align: center; width: 60px;">[[File:{{{image}}}{{!}}48px{!}}alt{{=}}]]</span>}} {{{text|''Your license text is not specified''}}} </div></includeonly><noinclude> {{documentation}}</noinclude> 069ed63c4b14e0275262b6d3e8d9e91ecba49744 Module:Mbox 828 74 89 2022-07-01T16:20:48Z FANDOM 26064 Scribunto text/plain -- This Module is used for making templates based in the Lua language. -- See more details about Lua in [[w:Help:Lua]]. -- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden. -- The next line imports the Mbox module from the [[w:c:dev:Global Lua Modules]]. local Mbox = require('Dev:Mbox') -- See more details about this module at [[w:c:dev:Global_Lua_Modules/Mbox]] -- The imported Module is overwritten locally to include default styling. -- For a more flexible Mbox experience, delete the function below and import -- https://dev.fandom.com/wiki/MediaWiki:Global_Lua_Modules/Mbox.css -- or paste (and modify as you like) its contents in your wiki's -- [[MediaWiki:Wikia.css]] (see [[w:Help:Including_additional_CSS_and_JS]]) -- or look at https://dev.fandom.com/wiki/Global_Lua_Modules/Mbox -- for more customization inspiration -- -- BEGIN DELETION HERE -- local getArgs = require('Dev:Arguments').getArgs local localCSS = mw.loadData('Module:Mbox/data').localStyle function Mbox.main(frame) local args = getArgs(frame) -- styles local styles = {} if args.bordercolor then styles['border-left-color'] = args.bordercolor elseif args.type then styles['border-left-color'] = 'var(--type-' .. args.type .. ')' end if args.bgcolor then styles['background-color'] = args.bgcolor end -- images local image = args.image or '' local imagewidth = args.imagewidth or '80px' local imagelink = '' if args.imagelink then imagelink = '|link=' .. args.imagelink end local imagewikitext = ('%sFile:%s|%s%s' .. ']]'):format('[[', image, imagewidth, imagelink) -- id for closure local id = args.id or 'mbox' local container = mw.html.create('div') :addClass('mbox') :addClass(args.class) :css(styles) :css(localCSS['mbox']) :cssText(args.style) local content = container:tag('div') :addClass('mbox__content') :css(localCSS['mbox__content']) if args.image then local image = content:tag('div') :addClass('mbox__content__image') :addClass('mw-collapsible') :attr('id', 'mw-customcollapsible-' .. id) :css(localCSS['mbox__content__image']) :wikitext(imagewikitext) if args.collapsed then image:addClass('mw-collapsed') end end local contentwrapper = content:tag('div') :addClass('mbox__content__wrapper') :css(localCSS['mbox__content__wrapper']) if args.header then contentwrapper:tag('div') :addClass('mbox__content__header') :css(localCSS['mbox__content__header']) :wikitext(args.header) end if args.text then local text = contentwrapper:tag('div') :addClass('mbox__content__text') :addClass('mw-collapsible') :attr('id', 'mw-customcollapsible-' .. id) :css(localCSS['mbox__content__text']) :wikitext(args.text) if args.collapsed then text:addClass('mw-collapsed') end if args.comment then text:tag('div') :addClass('mbox__content__text__comment') :css(localCSS['mbox__content__text__comment']) :wikitext(args.comment) end end contentwrapper:tag('span') :addClass('mbox__close') :addClass('mw-customtoggle-' .. id) :css(localCSS['mbox__close']) :attr('title', 'Dismiss') if args.aside then local aside = content:tag('div') :addClass('mbox__content__aside') :addClass('mw-collapsible') :attr('id', 'mw-customcollapsible-' .. id) :css(localCSS['mbox__content__aside']) :wikitext(args.aside) if args.collapsed then aside:addClass('mw-collapsed') end end return container end -- -- END DELETION HERE -- -- The last line produces the output for the template return Mbox 1c196d668f9209faef3e9a78c1f082f1c8573042 Template:GFDL 10 75 90 2022-07-01T16:20:48Z FANDOM 26064 Created page with " {{LicenseBox|text=''This file is licensed under the GFDL. Permission is granted to copy, distribute and/or modify this image under the terms of the '''Wikipedia:Text of th..." wikitext text/x-wiki {{LicenseBox|text=''This file is licensed under the GFDL. Permission is granted to copy, distribute and/or modify this image under the terms of the '''[[Wikipedia:Text of the GNU Free Documentation License|GNU Free Documentation License]]''', Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.''}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | <includeonly>[[Category:GFDL files]]</includeonly>}}<noinclude> {{documentation}}</noinclude> b3c309cd585718bb7808409474f98a1c5ec46103 Template:Documentation/doc 10 80 105 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ==Description== This template is used to insert descriptions on template pages. ==Syntax== Add <code><nowiki><noinclude></nowiki>{{t|Documentation}}<nowiki></noinclude></nowiki></code> at the end of the template page. Add <code><nowiki><noinclude></nowiki>{{t|Documentation|documentation page}}<nowiki></noinclude></nowiki></code> to transclude an alternative page from the /doc subpage. ==Usage== ===On the Template page=== This is the normal format when used: <pre> TEMPLATE CODE <includeonly>Any categories to be inserted into articles by the template</includeonly> <noinclude>{{Documentation}}</noinclude> </pre> ''If your template is not a completed div or table, you may need to close the tags just before <code><nowiki>{{Documentation}}</nowiki></code> is inserted (within the noinclude tags).'' ''A line break right before <code><nowiki>{{Documentation}}</nowiki></code> can also be useful as it helps prevent the documentation template "running into" previous code.'' ===On the documentation page=== The documentation page is usually located on the /doc subpage for a template, but a different page can be specified with the first parameter of the template (see [[#Syntax|Syntax]]). Normally, you will want to write something like the following on the documentation page: <pre> ==Description== This template is used to do something. ==Syntax== Type <code>{{t|templatename}}</code> somewhere. ==Samples== <code>&lt;nowiki>{{templatename|input}}&lt;/nowiki></code> results in... {{templatename|input}} <includeonly>Any categories for the template itself</includeonly> <noinclude>[[Category:Template documentation]]</noinclude> </pre> Use any or all of the above description/syntax/sample output sections. You may also want to add "see also" or other sections. Note that the above example also uses the [[Template:T]] template. <includeonly>[[Category:Documentation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 58ca364cb71b551e4a71ddf3046cf41c84db0d57 Template:Self/doc 10 83 108 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description :This template is used to mark images as having been uploaded by the photographer or author. ;Syntax :Type <code>{{t|self}}</code> on the image information page. <includeonly>[[Category:Image license templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 8daf839df62f0465275f6ef57c3998c9af9e4e1d Template:Item 10 87 112 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <includeonly><infobox type="Item"> <title source="title"/> <image source="image"><caption source="imagecaption"/></image> <data source="type"><label>Type</label></data> <data source="effects"><label>Effects</label></data> <data source="source"><label>Source</label></data> <data source="buy"><label>Cost to buy</label></data> <data source="sell"><label>Cost to sell</label></data> </infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Items]]}}</includeonly><noinclude>{{Documentation}}</noinclude> 1c76f47b4d1d6c296c09c245c7dd7d4efc9ff9e6 Module:Navbox 828 88 116 2022-07-01T16:20:48Z FANDOM 26064 fixed broken help link Scribunto text/plain -- This Module is used for making templates based in the Lua language. -- See more details about Lua in [[w:Help:Lua]]. -- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden. -- The next line imports the Navbox module from the [[w:c:dev:Global Lua Modules]]. local N = require('Dev:Navbox') -- See more details about this module at [[w:c:dev:Global_Lua_Modules/Navbox]] -- The last line produces the output for the template return N 7c5d05d6cc02dafdd64b46ca3fbdc3f808e53e5b Template:Season 10 91 119 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <includeonly><infobox type="Season"> <title source="title"><default>{{PAGENAME}}</default></title> <image source="image"><caption source="caption"/></image> <data source="season"><label>Season</label></data> <data source="episodes"><label>Episodes</label></data> <data source="premiere"><label>Premiered</label></data> <group layout="horizontal"> <header>Navigation</header> <data source="previous"><label>← Previous</label></data> <data source="next"><label>Next →</label></data> </group> </infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Seasons]]}}</includeonly><noinclude>{{documentation}}</noinclude> 2e09c5f43c99d98363971b63ad639874c5e6c452 Module:Navbox/doc 828 92 120 2022-07-01T16:20:48Z FANDOM 26064 getting rid of red links wikitext text/x-wiki This module is invoked by the {{t|Navbox}} template. Navbox templates are not displayed for mobile users. 23d4ed4b22c8bf7316431e1f6df6d4d5d9de1ef5 Template:=/doc 10 93 121 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description :This template is used when escaping <code>=</code> when contained in [[w:Help:Parser functions|Parser functions]]. ;This template cannot be substituted. ;Syntax :Insert this template using <code>{{t|{{=}}}}</code> <includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> ce8f267527b35c852e8190c38416584783aa37ac Blog:Recent posts 502 94 122 2022-07-01T16:20:48Z FANDOM 26064 Created article for recent blog posts wikitext text/x-wiki <bloglist summary="true" count=50><title>⧼create-blog-post-recent-listing-title ⧽</title><type>plain</type><order>date</order></bloglist> afb902f1d8c2d7adccbdd48b1fbd4a0cc5361783 Template:MessageBox/doc 10 95 123 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki {{T|MessageBox}} is a template for creating message boxes. It is highly customizable with classes, inline styles, and provided CSS selectors. Optional features such as an image, left border, right-side text (for e.g. shortcuts), and a dismiss function. It uses the [[w:Help:Lua|Lua templating language]], and more information can be found [[w:c:dev:Global_Lua_Modules/Mbox|on the Global Lua Module page]]. This version is modified to produce a starter style, based on the [[w:c:dev:mediawiki:Global Lua Modules/Mbox.css|basic style from the module]]. To use the full capabilities of this module and remove the default styling, remove the indicated portions of [[Module:Mbox]]. '''For a traditional wikitext version of this template, see [[w:c:templates:Template:Ambox|Ambox on Templates Wiki]]'''. ==Parameters== For examples of how to use these parameters, see [[#Examples]]. {| class="wikitable" style="width: 100%" ! Parameter name ! Description ! Required? ! Default |- | <code>class</code> | Additional classes to the root <code>.mbox</code> element. | No | — |- | <code>bordercolor</code> | The color of the thick left-most border. | No | Stylesheet default |- | <code>type</code> | Type of mbox as declared as in CSS with variables. Affects color of the thick left-most border. See [[#Using types]]. | No | — |- | <code>bgcolor</code> | The color of the mbox's background. | No | Stylesheet default |- | <code>style</code> | Additional inline styles to the root <code>.mbox</code> element. | No | — |- | <code>image</code> | An image to be added to the left of all text content. | No | — |- | <code>imagewidth</code> | The width of the image (height automatically adjusts). | No | <code>60px</code> |- | <code>imagelink</code> | The link to which the image points (could link to the relevant maintenance category, per example). If not included, the image will be un-clickable. | No | — |- | <code>header</code> | The header (bold text placed at the top). This is typically used to very briefly explain the subject of the mbox itself, as when the mbox is closed, only the header will show. | No | — |- | <code>text</code> | Non-bold text placed below the header, typically used to explain the subject of the mbox in further or additional detail. When the mbox is closed, this text will be hidden. | No | — |- | <code>comment</code> | Smaller non-bold text placed below the main text, typically used to add additional links or context about the notice. When the mbox is closed, this text will be hidden. | No | — |- | <code>aside</code> | Text placed within a small allocation on the right side separated by a light gray border. Most commonly used to show shortcuts to the page in question (such as on policy pages). When the mbox is closed, this text will be hidden. | No | — |- | <code>id</code> | By default, one close button will close all mboxes on the page. However, to change this, this parameter may be used, given as the name of the mbox implementation (e.g., "Template:Cleanup" would have <code><nowiki>|id=cleanup</nowiki></code>). | No | — |- | <code>collapsed</code> | By default, the mbox will be uncollapsed, and the full contents will be shown. However, to change this, this parameter may be used to set an mbox as collapsed by default (e.g., <code><nowiki>|collapsed=true</nowiki></code> would set the mbox to be collapsed by default). | No | — |} ==Design== Some communities may wish to customize the appearance of the mboxes. The most common styling options are provided illustrated in CSS. <syntaxhighlight lang="css" class="mw-collapsible mw-collapsed"> .mbox { /* the background of the entire box */; background-color: ; /* the border color of the entire box */ border-color: ; /* the border thickness of the entire box */ border-width: ; /* the default thick left border color; note this can be changed from within the template implementations using the "color" parameter */ border-left-color: ; /* the rounded-ness of the corners */; border-radius: ; /* the baseline font-size of the mbox */ font-size: ; } .mbox__content { /* the padding inside the mbox */ padding: ; } .mbox__content__image { /* the minimum width of the mbox's image (if bigger, use the "imagewidth" parameter in the template) */ width: ; /* the spacing to the left of the text (i.e., the right of the image) */ padding-right: ; } .mbox__content__text__comment { /* the size of the text in the "comment" parameter */ font-size: ; } .mbox__content__aside { /* any particular modifications to the "aside" area can go here */ /* the maximum width of the aside area */ width: ; } .mbox__close { /* the appearance of the close symbol here */ } .mbox__close:after { /* overwrite "content" here if you do not wish for the close symbol to be × */ content: ''; } .mw-collapsed + .mbox__close { /* modifications to the close symbol when the box is closed */ } .mw-collapsed + .mbox__close:after { /* overwrite "content" here if you do not wish for the close symbol to be + when the box is closed */ content: ''; } </syntaxhighlight> ; Technical notes * Additional inline styles to the root <code>.mbox</code> element can be achieved via the <code>style</code> parameter in the template. == Examples == === Basic MessageBox === <pre> {{MessageBox |header = Header text here |text = Normal text here |id = test1 }}</pre> Produces: {{#invoke:Mbox|main |header = Header text here |text = Normal text here |id = test1 }} === Using types === To use types, CSS variables must be added, such as: <syntaxhighlight lang="css"> :root { --type-important: rgba(200, 0, 0, 0.8); --type-moderate: rgba(233, 124, 47, 0.8); --type-minor: rgba(241, 197, 37, 0.8); } </syntaxhighlight> If added: <pre> {{MessageBox |header = Header text here |type = important |text = Normal text here |id = test2 }}</pre> Produces: {{#invoke:Mbox|main |header = Header text here |type = important |text = Normal text here |id = test2 }} Depending on your styling, there may not be a visual difference in the above example. === With an image === <pre> {{MessageBox |header = Header text here |text = Normal text here |image = Wiki.png |imagelink = |imagewidth = 50px |id = test3 }}</pre> Produces: {{#invoke:Mbox|main |header = Header text here |text = Normal text here |image = Wiki.png |imagelink = |imagewidth = 50px |id = test3 }} === With an aside === <pre> {{MessageBox |header = Header text here |type = important |text = Normal text here |aside = Aside text here |id = test4 }}</pre> Produces: {{#invoke:Mbox|main |header = Header text here |type = important |text = Normal text here |aside = Aside text here |id = test4 }} === Standard/default style === <pre> {{MessageBox |header = Header text here |text = Normal text here |comment = Comment text here |image = Wiki.png |aside = Aside text here |id = standard }}</pre> Produces: {{#invoke:Mbox|main|header=Header text here |text=Normal text here |comment=Comment text here |image=Wiki.png |aside=Aside text here |id=standard}} <includeonly>[[Category:Notice templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> ca7c12cf4c7d97a6a3a96c5adc07ee3ceaf78fda Category:Candidates for deletion 14 96 124 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki __EXPECTUNUSEDCATEGORY__ This category contains articles that have been marked as candidates for deletion with the {{T|Delete}} template. '''Administrators, before deleting these pages''' make sure you check each page's discussion page, what links to each page, and the history of each page before proceeding with the deletion. [[Category:Maintenance]] a73d7b53cf0697a0682f842f1a71aafbe127aade Template:Film 10 98 126 2022-07-01T16:20:48Z FANDOM 26064 Created page with "<includeonly><infobox> <title source="title"><default>'' {{#explode:{{PAGENAME}}|(}} ''</default></title> <image source="image"><caption source="caption"/></image> <g..." wikitext text/x-wiki <includeonly><infobox> <title source="title"><default>'' {{#explode:{{PAGENAME}}|(}} ''</default></title> <image source="image"><caption source="caption"/></image> <group> <data source="premiere"><label>Premiere date</label></data> <data source="genre"><label>Genre</label></data> <data source="rating"><label>Rating</label></data> <data source="runtime"><label>Runtime</label></data> <data source="director"><label>Directed by</label></data> <data source="writer"><label>Written by</label></data> <data source="music"><label>Music by</label></data> <data source="producer"><label>Produced by</label></data> <data source="budget"><label>Budget</label></data> <data source="earned"><label>Box Office</label></data> </group> <group layout="horizontal"> <header>Series</header> <data source="previous"><label>← Previous</label></data> <data source="next"><label>Next →</label></data> </group> </infobox>{{Namespace|main=[[Category:Films]]}}</includeonly><noinclude>{{documentation}}</noinclude> 92b5337f22ec52309cba873beaf3cdb11d2f64e0 Category:Image license templates 14 101 130 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:Templates]]" wikitext text/x-wiki [[Category:Templates]] 06eecdec29f6cb215c99cf216d1e3bdc8c30a95e Module:Dialogue/doc 828 102 131 2022-07-01T16:20:48Z FANDOM 26064 getting rid of red links wikitext text/x-wiki This module is invoked by the {{t|Dialogue}} template. d22c926bd1a5c2221b42dc1a05b2326ecaaa6712 Module:Quote/doc 828 103 132 2022-07-01T16:20:48Z FANDOM 26064 to get rid of the red link for the documentation wikitext text/x-wiki This module is used by most of the basic [[:Category:Quote templates|Quote templates]] and is invoked by {{t|Quote}}. 665dce984d14e47c31477a42382fecb536de1da7 Category:Maintenance 14 104 133 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki The subcategories of this category contain pages that have been identified as needing attention for one or more of the following reasons: * Changes have been suggested that should be discussed first or are under discussion. * The page has flaws that need addressing by an editor with the knowledge or skills to help. * The action the page needs requires special rights. ''See also:'' {{cols|2| * [[Special:BrokenRedirects|Broken redirects]] * [[Special:DoubleRedirects|Double redirects]] * [[Special:UncategorizedCategories|Uncategorized categories]] * [[Special:UncategorizedFiles|Uncategorized files]] * [[Special:UncategorizedPages|Uncategorized pages]] * [[Special:UncategorizedTemplates|Uncategorized templates]] * [[Special:WantedCategories|Wanted categories]] * [[Special:WantedFiles|Wanted files]] * [[Special:WantedPages|Wanted pages]] * [[Special:WantedTemplates|Wanted templates]] * [[Special:TrackingCategories|Other special tracking categories]] }} [[Category:{{SITENAME}}]] 3646bf22bbf81213a9b8ea11df02ceee8866b235 Module:Mbox/doc 828 105 134 2022-07-01T16:20:48Z FANDOM 26064 getting rid of a red link for the documentation wikitext text/x-wiki This module is used by most of the basic [[:Category:Notice templates|Notice templates]] and is invoked by {{t|MessageBox}}. f4a47833d87441e40c6613bb641eb72f6207cbb1 Template:Cast 10 108 137 2022-07-01T16:20:48Z FANDOM 26064 Created page with "<includeonly><infobox> <title source="name"><default>{{PAGENAME}}</default></title> <image source="image"><caption source="caption" /></image> <data><label>Born..." wikitext text/x-wiki <includeonly><infobox> <title source="name"><default>{{PAGENAME}}</default></title> <image source="image"><caption source="caption" /></image> <data><label>Born</label> <default>{{#if: {{{birthname|}}} | {{{birthname|}}} }}{{#if: {{{birthdate|}}} | {{#if: {{{birthname|}}} | <br />}}{{{birthdate|}}}{{#if: {{{birthplace|}}} | <br />}} }}{{#if: {{{birthplace|}}} | {{#if: {{{birthdate|}}} || {{#if: {{{birthname|}}}|<br />}} }}{{{birthplace|}}} }}</default> </data> <data><label>Died</label> <default>{{#if: {{{deathdate|}}} | {{{deathdate|}}} }}{{#if: {{{deathplace|}}} | {{#if: {{{deathdate|}}} | <br />}}{{{deathplace|}}} }}</default> </data> <data source="gender"><label>Gender</label></data> <data source="height"><label>Height</label></data> <data source="occupation"><label>Occupation</label></data> <data source="appears in"><label>Appears in</label></data> <data source="portrays"><label>Portrays</label></data> </infobox>{{Namespace|main=[[Category:Cast]]<!-- -->{{#if: {{#pos:{{{appears in|}}} | TITLE}} | [[Category:TITLE cast]] }}<!-- -->}}</includeonly><noinclude>{{documentation}}</noinclude> b1e4767be7d53e599ae3ac18e9f41dff90fdfe89 Template:Main 10 109 138 2022-07-01T16:20:48Z FANDOM 26064 1 revision imported wikitext text/x-wiki <includeonly>{{#invoke:Hatnote|main}}</includeonly> <noinclude>{{Documentation|:Template:Hatnote/doc}}<!-- For a more traditional wikitext version of this template, see https://templates.fandom.com/wiki/Template:Main_article --></noinclude> de20b6a379396a3458f12d72e486fce07869137c Category:Screenshots 14 110 139 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:Images]]" wikitext text/x-wiki [[Category:Images]] 8820b63e35aedd9d2666fe40b965d4e91ce0a106 Template:MessageBox 10 111 140 2022-07-01T16:20:48Z FANDOM 26064 1 revision imported wikitext text/x-wiki {{#invoke:Mbox|main}}<noinclude>{{Documentation}}<!-- For a more traditional wikitext version of this template, see https://templates.fandom.com/wiki/Template:Ambox --></noinclude> fab8a2df56fd74147e1709af14e8993cfab7ebe7 Template:Location/doc 10 113 143 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki == Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infobox|Fandom's infobox syntax]]. == Syntax == <pre> {{Location | title = | image = [e.g. "Example.jpg"] | imagecaption = | map = [e.g. "Example.jpg"] | mapcaption = | type = | level = | location = | inhabitants = }} </pre> == Sample output == {{Location | title = Flora Island | image = Example.jpg | imagecaption = The island | map = Example.jpg | mapcaption = Zone map | type = Contested | level = 1-5 | location = Earth | inhabitants = Stompy Humans, Drinky Bees }}<pre> {{Location | title = Flora Island | image = Example.jpg | imagecaption = The island | map = Example.jpg | mapcaption = Zone map | type = Contested | level = 1-5 | location = Earth | inhabitants = Stompy Humans, Drinky Bees }} </pre><includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> e3e627290fa1c04d98083b44bcd2fa5cb562e13c Template:Permission 10 114 144 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki {{LicenseBox|text=''This file is copyrighted. The copyright holder has given permission for its use.''}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | <includeonly>[[Category:Files used with permission]]</includeonly>}}<noinclude> {{documentation}}</noinclude> 5940d21c4cf55ab1e46623c8d7202220620ea3fc Template:Game/doc 10 116 146 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki == Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infobox|Fandom's infobox syntax]]. == Syntax == <pre>{{Game | title = The game's name, displayed on top of the infobox | image = [e.g. "Example.jpg"] | developer = | publisher = | engine = The engine the game runs on | version = Most recently released version of the game. If your wiki does patch notes, you may wish to link to those. | platform = Platform(s) the game is available on | releasedate = When the game released | genre = Genre(s) the game is classified as | mode = Singeplayer, multiplayer, etc. | rating = ESRB / PEGI, etc. ratings | media = What media the game is available on (digital, cartridge, cd, etc.) | requirements = System requirements }}</pre> == Sample output == {{Game | title = The Game of Flower | image = Example.jpg | developer = | publisher = | engine = | version = | platform = PC | releasedate = Soon | genre = RPG | mode = Single player | rating = | media = | requirements = Cutting edge hardware }} <pre>{{Game | title = The Game of Flower | image = Example.jpg | developer = | publisher = | engine = | version = | platform = PC | releasedate = Soon | genre = RPG | mode = Single player | rating = | media = | requirements = Cutting edge hardware }} </pre><includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> f43ae1af35184ba75281f54d6c3683a202f5fd69 Template:Clear/doc 10 117 147 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description This template allows you to clear the left side, right side, or both sides of the page. Clearing means that the content following the template will not be displayed until the existing content on the specified sides (for example, "hanging" or floating images or blocks) is displayed completely. This template is often used so that the text does not flow around unrelated images. The template adds the following code to the page: <code><nowiki><div style="clear:left/right/both;"></div></nowiki></code> (the value after <code>clear</code> depends on the parameters). This code affects elements with the CSS property <code>float</code>, including files floated to the side (for example, <code><nowiki>[[File:Image.png|right]]</nowiki></code>). ;Syntax * To clear both sides of the page, add the code {{t|Clear}}. * To clear only the left side of the page, add the code {{t|Clear|left}}. * To clear only the right side of the page, add the code {{t|Clear|right}}. You can also use {{t|-}} instead of {{t|Clear}} as a shorthand call for this template. __NOTOC__ ;Example <pre style="display:table"> === Section 1 === [[File:Example.jpg|200px|right]] Section 1 text. === Section 2 === Section 2 text. {{Clear|right}} === Section 3 === Section 3 text. </pre> This code produces the following result: ---- === Section 1 === [[File:Example.jpg|200px|right]] Section 1 text. === Section 2 === Section 2 text. {{Clear|right}} === Section 3 === Section 3 text. ---- As you can see above, the example image added in section 1 is displayed to the right and extends down through section 2, while the {{t|Clear}} template is called at the end of the second section, resulting in the example image not being next to section 3. Thus, one use of the {{t|Clear}} template is to control which elements are displayed next to which other elements. == See also == * [https://developer.mozilla.org/en-US/docs/Web/CSS/clear CSS property <code>clear</code> on MDN] * [https://developer.mozilla.org/en-US/docs/Web/CSS/float CSS property <code>float</code> on MDN] <includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 23cbf4a368710af74b5a7e729c6a7205939cd5de Template:Character/doc 10 119 151 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki == Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infobox|Fandom's infobox syntax]]. == Syntax == <pre> {{Character | name = | image = | imagecaption = | aliases = | relatives = | affiliation = | occupation = | marital = | birthDate = | birthPlace = | deathDate = | deathPlace = | species = | gender = | height = | weight = | eyes = | portrayedby = | appearsin = | debut = }} </pre> == Sample output == {{Character | name = Flowa | image = Example.jpg | imagecaption = Flowa, at rest | aliases = Flo | relatives = | affiliation = | occupation = | marital = | birthDate = July 21st, 2013 | birthPlace = Iowa | deathDate = | deathPlace = | species = Plant | gender = | height = | weight = | eyes = | portrayedby = | appearsin = | debut = }} <pre> {{Character | name = Flowa | image = Example.jpg | imagecaption = Flowa, at rest | aliases = Flo | relatives = | affiliation = | occupation = | marital = | birthDate = July 21st, 2013 | birthPlace = Iowa | deathDate = | deathPlace = | species = Plant | gender = | height = | weight = | eyes = | portrayedby = | appearsin = | debut = }} </pre><includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 6ddf3451fd7140d6b498a17d53162a4ccd65e691 Template:Tocright 10 121 153 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <includeonly><div style="float:right; clear:{{{clear|right}}}; margin-bottom:.5em; padding:.5em 0 .8em 1.4em; background:transparent; max-width:20em;">__TOC__</div></includeonly><noinclude> {{documentation}}</noinclude> e05836955bb88801d044130d69154745f45c7642 Category:Videos 14 122 154 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:Media]]" wikitext text/x-wiki [[Category:Media]] b141d2b9971d6efe9f59bd03449781e71411c631 Template:Series/doc 10 124 156 2022-07-01T16:20:48Z FANDOM 26064 Created page with "== Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobo..." wikitext text/x-wiki == Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infobox|Fandom's infobox syntax]]. == Syntax == <pre> {{Series | title = | image = | caption = | release = | seasons = | episodes = | runtime = | genre = | network = | distrib = | creator = | writer = | director = | composer = | based on = | exec prod = | producer = | prod co = | country = | language = }}</pre> == Sample output == {{Series | title = ''Default page title'' | image = Wiki.png | caption = Test | release = Test | seasons = Test | episodes = Test | runtime = Test | genre = Test | network = Test | distrib = Test | creator = Test | writer = Test | director = Test | composer = Test | based on = Test | exec prod = Test | producer = Test | prod co = Test | country = Test | language = Test }} <pre>{{Series | title = ''Default page title'' | image = Wiki.png | caption = Test | release = Test | seasons = Test | episodes = Test | runtime = Test | genre = Test | network = Test | distrib = Test | creator = Test | writer = Test | director = Test | composer = Test | based on = Test | exec prod = Test | producer = Test | prod co = Test | country = Test | language = Test }}</pre><includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 7f9a7daecb805234290cd4addefc0c049fe125ce Template:Character 10 126 158 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <includeonly><infobox type="Character"> <title source="name"/> <image source="image"> <caption source="imagecaption" /> </image> <group> <data source="aliases"><label>Aliases</label></data> <data source="relatives"><label>Relatives</label></data> <data source="affiliation"><label>Affiliation</label></data> <data source="occupation"><label>Occupation</label></data> </group> <group> <header>Biographical information</header> <data source="marital"><label>Marital status</label></data> <data source="birthDate"><label>Date of birth</label></data> <data source="birthPlace"><label>Place of birth</label></data> <data source="deathDate"><label>Date of death</label></data> <data source="deathPlace"><label>Place of death</label></data> </group> <group> <header>Physical description</header> <data source="species"><label>Species</label></data> <data source="gender"><label>Gender</label></data> <data source="height"><label>Height</label></data> <data source="weight"><label>Weight</label></data> <data source="eyes"><label>Eye color</label></data> </group> <group> <header>Appearances</header> <data source="portrayedby"><label>Portrayed by</label></data> <data source="appearsin"><label>Appears in</label></data> <data source="debut"><label>Debut</label></data> </group> </infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Characters]]}}</includeonly><noinclude>{{Documentation}}</noinclude> f63ba56dbc9f4a25683ff5d7104509d0e8bb9eda Template:Disambiguation/doc 10 127 159 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description :Marks an article as a disambiguation page, adding a banner to the article and categorizing it under [[:Category:Disambiguations]]. ;Syntax :Add <code>{{t|disambiguation}}</code> at the top of a disambiguation page. <includeonly>[[Category:Notice templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> c0a52d0ac40d9827b4462625985906e37c6f83c9 Template:Game 10 128 160 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <includeonly><infobox> <title source="title"> <default>{{PAGENAME}}</default> </title> <image source="image"> <caption source="caption"/> </image> <data source="developer"><label>Developer</label></data> <data source="publisher"><label>Publisher</label></data> <data source="engine"><label>Engine</label></data> <data source="version"><label>Version</label></data> <data source="platform"><label>Platform</label></data> <data source="releasedate"><label>Release date</label></data> <data source="genre"><label>Genre</label></data> <data source="mode"><label>Mode</label></data> <data source="rating"><label>Rating</label></data> <data source="media"><label>Media</label></data> <group collapse="open"> <header>System requirements</header> <data source="requirements"></data> </group> </infobox></includeonly><noinclude>{{Documentation}}</noinclude> 632ebe6f3e8bab75f012f57996157e6b71f04c2c Template:See also 10 131 163 2022-07-01T16:20:48Z FANDOM 26064 1 revision imported wikitext text/x-wiki <includeonly>{{#invoke:Hatnote|seeAlso}}</includeonly> <noinclude>{{Documentation|:Template:Hatnote/doc}}<!-- For a more traditional wikitext version of this template, see https://templates.fandom.com/wiki/Template:Hatnote --></noinclude> e245d8ecb350a8965723151f4fad9d3cafedad60 Module:Namespace detect 828 132 164 2022-07-01T16:20:48Z FANDOM 26064 fixing broken help link Scribunto text/plain -- This Module is used for making templates based in the Lua language. -- See more details about Lua in [[w:Help:Lua]]. -- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden. -- The next line imports the Namespace_detect module from the [[w:c:dev:Global Lua Modules]]. local NS = require('Dev:Namespace_detect') -- Local configuration can be modified in -- [[Module:Namespace detect/data]] and -- [[Module:Namespace detect/config]] -- See more details about this module at [[w:c:dev:Global_Lua_Modules/Namespace detect]] -- The last line produces the output for the template return NS 108c1bd4f38e4a0b40b9a85178a4d68cd557cef3 Template:Self 10 133 165 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki {{LicenseBox|text=''This file was uploaded by the photographer or author.''}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | <includeonly>[[Category:Files uploaded by the photographer or author]]</includeonly>}}<noinclude> {{documentation}}</noinclude> c3570ab7a69cc0cdf1478e8b7d45f8c70f1214c0 Template:CC-BY-SA/doc 10 134 166 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description :This template is used to mark images with the CC-BY-SA license. ;Syntax :Type <code>{{t|CC-BY-SA}}</code> on the image information page. <includeonly>[[Category:Image license templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 4fa145ced3f3a218b897f635df8d678eeff73464 Module:Namespace detect/doc 828 135 167 2022-07-01T16:20:48Z FANDOM 26064 getting rid of red links wikitext text/x-wiki This module is invoked by the {{t|Namespace}} template. 157d889ae2f345f719a68f459ee2ca550d14afb5 Template:Space/doc 10 136 168 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description This template allows you to force a space in areas that strip whitespace. <includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> e361d3f5c2ca3c7d7503d9bb0d311e9d440c3cc2 Category:Quote templates 14 138 170 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:Templates]]" wikitext text/x-wiki [[Category:Templates]] 06eecdec29f6cb215c99cf216d1e3bdc8c30a95e Template:Film/doc 10 139 171 2022-07-01T16:20:48Z FANDOM 26064 Created page with "== Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobo..." wikitext text/x-wiki == Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infobox|Fandom's infobox syntax]]. == Syntax == <pre> {{Film | title = | image = | caption = | premiere = | genre = | rating = | runtime = | director = | writer = | music = | producer = | budget = | earned = | previous = | next = }} </pre> == Sample output == {{Film | title = This is a test | image = Wiki.png | caption = This is a test | premiere = This is a test | genre = This is a test | rating = This is a test | runtime = This is a test | director = This is a test | writer = This is a test | music = This is a test | producer = This is a test | budget = This is a test | earned = This is a test | previous = This is a test | next = This is a test }} <pre> {{Film | title = This is a test | image = Wiki.png | caption = This is a test | premiere = This is a test | genre = This is a test | rating = This is a test | runtime = This is a test | director = This is a test | writer = This is a test | music = This is a test | producer = This is a test | budget = This is a test | earned = This is a test | previous = This is a test | next = This is a test }} }} </pre><includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> b085f97e35a2ac96b5ddf92a22e98fbd93933736 Template:Other free 10 140 172 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki {{LicenseBox|text=''This file is licensed under a free license.''}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | <includeonly>[[Category:Freely licensed files]]</includeonly>}}<noinclude> {{documentation}}</noinclude> a0e93bfb8a804eb54e67553ff50ba57b368ba00d Template:Event 10 141 173 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <includeonly><infobox type="Event"> <title source="title"/> <image source="image"><caption source="imagecaption"/></image> <data source="performers"><label>Performers</label></data> <data source="date"><label>Date</label></data> <data source="location"><label>Location</label></data> </infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Events]]}}</includeonly><noinclude>{{Documentation}}</noinclude> d66b112135e43b8474d30a6dab0feaab6588dfe8 Template:Quest/doc 10 143 175 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki == Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infobox|Fandom's infobox syntax]]. == Syntax == <pre> {{Quest | title = | image = [e.g. "Example.jpg"] | imagecaption = | start = | end = | prerequisites = | level = | location = | rewards = | previous = | next = }} </pre> == Sample output == {{Quest | title = Example infobox | image = Example.jpg | start = Chrys | end = Geran | prerequisites = None | level = 5 | location = Earth | rewards = Justice-Wrought Petals | previous = A | next = C }} <pre>{{Quest | title = Example infobox | image = Example.jpg | start = Chrys | end = Geran | prerequisites = None | level = 5 | location = Earth | rewards = Justice-Wrought Petals | previous = A | next = C }} </pre><includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 3c80ee4fc3fe45023bd67b3c400b2e64f4f2892a Template:About 10 146 178 2022-07-01T16:20:48Z FANDOM 26064 1 revision imported wikitext text/x-wiki <includeonly>{{#invoke:Hatnote|about}}</includeonly> <noinclude>{{Documentation|:Template:Hatnote/doc}}<!-- For a more traditional wikitext version of this template, see https://templates.fandom.com/wiki/Template:About --></noinclude> 510109cae7f705952c7a0279d73a7a44fa82d41f Template:From Wikimedia 10 148 180 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki {{LicenseBox|text=''This file was originally uploaded on Wikipedia or another Wikimedia project.''}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | <includeonly>[[Category:Files from WikiMedia projects]]</includeonly>}}<noinclude> {{documentation}}</noinclude> 72fed0e402d6912cd6381ef1b21b52929b041d8c Template:T 10 149 181 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <onlyinclude><nowiki>{{</nowiki>{{#if:{{{prefix|}}}|{{{prefix}}}:}}[[Template:{{{1}}}|{{{1}}}]]<!-- -->{{#if:{{{2|}}}|&#124;<span style="color:#555;">''&lt;{{{2}}}&gt;''</span>}}<!-- -->{{#if:{{{3|}}}|&#124;<span style="color:#555;">''&lt;{{{3}}}&gt;''</span>}}<!-- -->{{#if:{{{4|}}}|&#124;<span style="color:#555;">''&lt;{{{4}}}&gt;''</span>}}<!-- -->{{#if:{{{5|}}}|&#124;<span style="color:#555;">''&lt;{{{5}}}&gt;''</span>}}<!-- -->{{#if:{{{6|}}}|&#124;<span style="color:#555;">''&lt;{{{6}}}&gt;''</span>}}<!-- -->{{#if:{{{7|}}}|&#124;<span style="color:#555;">''&lt;{{{7}}}&gt;''</span>}}<!-- -->{{#if:{{{8|}}}|&#124;<span style="color:#555;">''&lt;{{{8}}}&gt;''</span>}}<!-- -->{{#if:{{{9|}}}|&#124;<span style="color:#555;">''&lt;{{{9}}}&gt;''</span>}}<!-- -->{{#if:{{{10|}}}|&#124;<span style="color:#555;">''&lt;{{{10}}}&gt;''</span>}}<!-- -->{{#if:{{{11|}}}|&#124;<span style="color:#555;">''&lt;{{{11}}}&gt;''</span>}}<!-- -->{{#if:{{{12|}}}|&#124;<span style="color:#555;">''&lt;{{{12}}}&gt;''</span>}}<!-- -->{{#if:{{{13|}}}|&#124;<span style="color:#555;">''&lt;{{{13}}}&gt;''</span>}}<!-- -->{{#if:{{{14|}}}|&#124;<span style="color:#555;">''&lt;{{{14}}}&gt;''</span>}}<!-- -->{{#if:{{{15|}}}|&#124;<span style="color:#555;">''&lt;{{{15}}}&gt;''</span>}}<!-- -->{{#if:{{{16|}}}|&#124;<span style="color:#555;">''&lt;{{{16}}}&gt;''</span>}}<!-- -->{{#if:{{{17|}}}|&#124;<span style="color:#555;">''&lt;{{{17}}}&gt;''</span>}}<!-- -->{{#if:{{{18|}}}|&#124;<span style="color:#555;">''&lt;{{{18}}}&gt;''</span>}}<!-- -->{{#if:{{{19|}}}|&#124;<span style="color:#555;">''&lt;{{{19}}}&gt;''</span>}}<!-- -->{{#if:{{{20|}}}|&#124;<span style="color:#555;">''&lt;{{{20}}}&gt;''</span>}}<!-- -->{{#if:{{{21|}}}|&#124;<span style="color:#555;">''&lt;{{{21}}}&gt;''</span>}}<!-- --><nowiki>}}</nowiki></onlyinclude><noinclude>{{documentation}}</noinclude> 4273916fece7a96eef48125efb615009a1fd6fe6 Template:Event/doc 10 152 185 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki == Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infobox|Fandom's infobox syntax]]. == Syntax == <pre> {{Event | title = | image = [e.g. "Example.jpg"] | imagecaption = | performers = | date = | location = }} </pre> == Sample output == {{Event | title = Flower du Jour | image = Example.jpg | performers = Awesome Ones | date = All the time | location = Everywhere }} <pre> {{Event | title = Flower du Jour | image = Example.jpg | performers = Awesome Ones | date = All the time | location = Everywhere }} </pre><includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 1502585ceb0f0a7e1e70edc0fa8c88720e7da905 Module:Namespace detect/config 828 153 186 2022-07-01T16:20:48Z FANDOM 26064 fixing broken help link Scribunto text/plain -- This Module is used for making templates based in the Lua language. -- See more details about Lua in [[w:Help:Lua]]. -- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden. -- The next line imports from the [[w:c:dev:Global Lua Modules]]. local nsConfiguration = require('Dev:Namespace_detect/config') -- See more details about this module at [[w:c:dev:Global_Lua_Modules/Namespace_detect]] -- The imported Module is overwritten locally to include default configuration. -- For a more flexible experience, delete the page import -- and paste (and modify as you like) its contents into this page -- https://dev.fandom.com/wiki/Module:Namespace_detect/config -- The last line produces the output for the template return nsConfiguration 22ca76ef47387cf20b5fcc7d1f14687f0b2da915 Template:Series 10 156 189 2022-07-01T16:20:48Z FANDOM 26064 Created page with "<includeonly><infobox> <title source="title"><default>'' {{#explode:{{PAGENAME}}|(}} ''</default></title> <image source="image"><caption source="caption" /></image> <dat..." wikitext text/x-wiki <includeonly><infobox> <title source="title"><default>'' {{#explode:{{PAGENAME}}|(}} ''</default></title> <image source="image"><caption source="caption" /></image> <data source="release"><label>First released</label></data> <data source="seasons"><label>Seasons</label></data> <data source="episodes"><label>Episodes</label></data> <data source="runtime"><label>Run time</label></data> <data source="genre"><label>Genre</label></data> <data source="network"><label>Network</label></data> <data source="distrib"><label>Distributor</label></data> <data source="creator"><label>Created by</label></data> <data source="writer"><label>Written by</label></data> <data source="director"><label>Directed by</label></data> <data source="composer"><label>Composer</label></data> <data source="based on"><label>Based on</label></data> <data source="exec prod"><label>Executive producer</label></data> <data source="producer"><label>Producer</label></data> <data source="prod co"><label>Production company</label></data> <data source="country"><label>Country</label></data> <data source="language"><label>Language</label></data> </infobox></includeonly><noinclude>{{documentation}}</noinclude> f2e00daecd3f3df5c31267e0a9ffd721ac2f186d Template:MIT/doc 10 158 191 2022-07-01T16:20:48Z FANDOM 26064 Created page with ";Description :This template is used to mark images using the MIT license. ;Syntax :Type <code>{{t|MIT}}</code> on the image information page. <includeonly>Category:Ima..." wikitext text/x-wiki ;Description :This template is used to mark images using the MIT license. ;Syntax :Type <code>{{t|MIT}}</code> on the image information page. <includeonly>[[Category:Image license templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> f243f408a7cb3acce5635655a2648b3dcd892584 Category:Infobox templates 14 159 192 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:Templates]]" wikitext text/x-wiki [[Category:Templates]] 06eecdec29f6cb215c99cf216d1e3bdc8c30a95e Template:Hatnote/doc 10 163 201 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki The hatnotes used for adding links between articles where more context is important. Broadly speaking, a hatnote should answer a readers' question: Am I on the right page? == Usage == ; Basic usage: &#123;{hatnote|''text''}} ; All parameters: &#123;{hatnote|''text''|extraclasses=''extra classes''|selfref=''yes''|category=''no''}} == Parameters == This template accepts the following parameters: * <code>1</code> - the hatnote text (required) * <code>extraclasses</code> - any extra CSS classes to be added. * <code>selfref</code> - If set to "yes", "y", "true" or "1", adds the CSS class "selfref". This is used to denote self-references. * <code>category</code> - If set to "no", "n", "false", or "0", suppresses the error tracking category ([[:Category:Hatnote templates with errors]]). This has an effect only if the leftmost parameter (the hatnote text) is omitted. == Example == * <code><nowiki>{{hatnote|Example hatnote text}}</nowiki></code> → {{hatnote|Example hatnote text}} == Typical types == {{T|Main}}, {{T|Further}} are very similar, but indicate either the primary page for a topic or more detailed related topic. They have a nearly identical set of parameters. ;{{T|Main}}: When an article is large, it often has a summary and a link to a main article. This template is used after the heading of the summary, to indicate a link to the subtopic article that has been summarized. ;{{T|Further}}: Used to link to articles containing further information on this topic. ;{{T|See also}}: Used to link to additional articles on related topics. :;{{T|Main|Main Page}} →:{{Main|Main Page}} :;{{T|Main|Main Page|Main Page}} →:{{Main|Main Page|Main Page}} :*<code>1</code>, <code>2</code>, <code>3</code>, ... – the pages to link to. If no page names are specified, the current page name is used instead (without the namespace prefix). Categories and files are automatically escaped with the [[w:Help:Colon trick|colon trick]], and links to sections are automatically formatted as ''page § section'', rather than the MediaWiki default of ''page#section''. :*<code>l1</code>, <code>l2</code>, <code>l3</code>, ... ''or''<code>label 1</code>, <code>label 2</code>, <code>label 3</code>, ... – optional labels for each of the pages to link to (this is for articles where a piped link would be used). Note that the extra parameters use a lower case 'L', for example, <code>l1</code>, <u>not</u> <code>L1</code>. :*<code>selfref</code> – if set to "yes", "y", "true" or "1", adds the CSS class "selfref". This is used to denote self-references. == Disambiguation == Templates such as {{T|About}} and {{T|For}} are to be used in cases where a disambiguation is not needed. In general, disambiguation pages should only be used for 4 or more titles that are mostly or entirely identical, except for a qualifier. ;{{T|About}}: Links the reader to other articles with similar titles or concepts that they may have been seeking instead. The template has several formats, including: :;{{T|About|Use1}} →:{{About|}} :;{{T|About|Use1|<nowiki/>|Main Page}} →:{{About|Use1||Main Page}} :;{{T|About|Use1|<nowiki/>|Main Page|and|Main Page}} →:{{About|Use1||Main Page|and|Main Page}} :;{{T|About|Use1|Use2|Main Page}} →:{{About|Use1|Use2|Main Page}} :;{{T|About|Use1|Use2|Main Page|and|Main Page}} →:{{About|Use1|Use2|Main Page|and|Main Page}} :;{{T|About|Use1|Use2|Main Page|other uses}} →:{{About|Use1|Use2|Main Page|other uses}} Alternately, a <code>section=yes</code> parameter can be added to the {{T|About}} template for use at the top of a section. When using this parameter, the wording in the template changes to specify that it is being used in a section: :;{{T|About|Use1|<nowiki>section=yes</nowiki>}} →:{{About|Use1|section=yes}} :;{{T|About|Use1|<nowiki/>|Main Page|<nowiki>section=yes</nowiki>}} →:{{About|Use1||Main Page|section=yes}} :;{{T|About|Use1|Use2|Main Page|<nowiki>section=yes</nowiki>}} →:{{About|Use1|Use2|Main Page|section=yes}} :;{{T|About|Use1|Use2|Main Page|and|Main Page|<nowiki>section=yes</nowiki>}} →:{{About|Use1|Use2|Main Page|and|Main Page|section=yes}} :;{{T|About|Use1|Use2|Main Page|other uses|<nowiki>section=yes</nowiki>}} →:{{About|Use1|Use2|Main Page|other uses|section=yes}} A <var>text</var> option adds text to the end; note that this should be only used when truly necessary, and the other hatnote templates listed below don't suffice. This template also supports <var>selfref</var>. ;{{T|For}}: Provides links to up to four articles or disambiguation pages. It accepts zero to five parameters. :;If used without parameters on a page named ''Foo'', the result is ::{{hatnote|For other uses, see [[:Foo (disambiguation)]].}} :;The first parameter changes the hatnote itself and should be plain text, e.g. {{T|For|similar terms}} yields ::{{hatnote|For similar terms, see [[:Foo (disambiguation)]].}} :;The second parameter is used to change the resultant link, e.g. {{T|For|similar terms|Main Page}} yields ::{{For|similar terms|Main Page}} :;The third, fourth and fifth parameters are used to give one, two, or three supplementary links: :*{{For|similar terms|Main Page|Main Page}} :*{{For|similar terms|Main Page|Main Page|Main Page}} :*{{For|similar terms|Main Page|Main Page|Main Page|Main Page}} :the last being produced by e.g. {{T|For|similar terms|Main Page|Main Page|Main Page|Main Page}}. == Errors == If no hatnote text is supplied, the template will output the following message: * {{hatnote|category=no}} If you see this error message, it is for one of four reasons: # No parameters were specified (the template code was <code><nowiki>{{hatnote}}</nowiki></code>). Please use <code><nowiki>{{hatnote|</nowiki>''text''<nowiki>}}</nowiki></code> instead. # Some parameters were specified, but the hatnote text wasn't included. For example, the template text <code><nowiki>{{hatnote|extraclasses=seealso}}</nowiki></code> will produce this error. Please use (for example) <code><nowiki>{{hatnote|</nowiki>''text''<nowiki>|extraclasses=seealso}}</nowiki></code> instead. # The hatnote text was specified, but that text contains an equals sign ("="). The equals sign has a special meaning in template code, and because of this it cannot be used in template parameters that do not specify a parameter name. For example, the template code <code><nowiki>{{hatnote|2+2=4}}</nowiki></code> will produce this error. To work around this, you can specify the parameter name explicitly by using <code>1=</code> before the hatnote text, like this: <code><nowiki>{{hatnote|1=2+2=4}}</nowiki></code>. # You tried to access [[Module:Hatnote]] directly by using <code><nowiki>{{#invoke:hatnote|hatnote|</nowiki>''text''<nowiki>}}</nowiki></code>. Use of #invoke in this way has been disabled for performance reasons. Please use <code><nowiki>{{hatnote|</nowiki>''text''<nowiki>}}</nowiki></code> instead. Pages that contain this error message are tracked in [[:Category:Hatnote templates with errors]]. == Technical details == This template uses the [[w:Help:Lua|Lua templating language]], and more information can be found [[w:c:dev:Global_Lua_Modules/Hatnote|on the Global Lua Module page]]. '''For a traditional wikitext version of this template, see [[w:c:templates:Template:Hatnote|Hatnote on Templates Wiki]]'''. The HTML code produced by this template looks like this: * <code><nowiki><div role="note" class="hatnote"></nowiki>''hatnote text''<nowiki></div></nowiki></code> <includeonly>[[Category:Notice templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> f89b62bda227691a45fd6d42d8bf89b151436cd2 Category:Pages with broken file links 14 167 205 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:Maintenance]]" wikitext text/x-wiki [[Category:Maintenance]] a106a39e26c77e7b2ec90cb83728a6446cb6a1a1 Category:Media 14 168 206 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:{{SITENAME}}]]" wikitext text/x-wiki [[Category:{{SITENAME}}]] dd8aaa34cf600c1567d240a3f4bc615164a11592 Chiki Wiki:Wiki rules 4 170 208 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki Below is a suggested set of rules to follow when editing this wiki. Administrators of this wiki should read these rules and adapt them as necessary. # '''Keep it civil''': Do not make personal attacks on other people. If you need to criticize another user’s argument, do so without attacking them as a person. Do not use bigoted language, including slurs which degrade another person or group of people based on gender, race, sexual orientation, nationality, religion, etc. # '''Be a productive member of the wiki''': Contribute to the wiki in line with the established processes and conventions. Need help? Ask an [[Special:ListUsers/sysop|administrator]]! Disrupting the wiki with “edit warring” over differing opinions of a topic with another user or group of users is not productive. # '''Do not engage in excessive self-promotion''': The wiki is a collaborative community resource for the topic at hand. It is NOT a free place to advertise your related website, YouTube channel, blog, social media account, etc. Have a question about whether your link would be welcome? Ask an administrator! # '''Do not harass other users''': If somebody asks you to stop posting certain content on their wall, respect their wishes. It is their wall. # '''Do follow community guidelines for formatting''': When a community has established formatting, it’s important to adhere to that, especially when spoiler content is involved. [[Category:{{SITENAME}}]] efad0088b04516c5e666314530cc43875a74fd71 Template:Navbox 10 171 209 2022-07-01T16:20:48Z FANDOM 26064 1 revision imported wikitext text/x-wiki {| style="width:100%; margin-top:1em; border:1px solid #999; font-size:90%; text-align:center;" |- ! style="padding:0.2em 0.5em;" nowrap="nowrap" class="color1" | {{{header}}} |- | style="padding:0.2em 0.5em;" | {{{body}}} |}<noinclude> {{documentation}}</noinclude> 21aa3440d9c06c537ca5808c298e155d57e8dc90 Template:Album 10 172 210 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <includeonly><infobox type="Album"> <title source="title"/> <image source="image"><caption source="imagecaption"/></image> <data source="artist"><label>Artist</label></data> <data source="released"><label>Released</label></data> <data source="recorded"><label>Recorded</label></data> <data source="length"><label>Length</label></data> <data source="label"><label>Label</label></data> <data source="producer"><label>Producer</label></data> </infobox></includeonly><noinclude>{{Documentation}}</noinclude> 7145bd5ecd9bcafcf1907686b6a57145c9c894ac Category:Community 14 173 211 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:{{SITENAME}}]]" wikitext text/x-wiki [[Category:{{SITENAME}}]] dd8aaa34cf600c1567d240a3f4bc615164a11592 Template:Namespace 10 175 213 2022-07-01T16:20:48Z FANDOM 26064 1 revision imported wikitext text/x-wiki {{SAFESUBST:<noinclude />#invoke:Namespace detect|main}}<noinclude>{{Documentation}}<!-- For a more traditional wikitext version of this template, see https://templates.fandom.com/wiki/Template:Namespace_detect --></noinclude> f5b6ed2c0363fd704c716a6e5420a5cc0546392f Template:Disambiguation 10 176 214 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki {{MessageBox | header = Disambiguation page for {{PAGENAME}} | type = disambiguation | text = The following is a list of links to pages that might share the same title. | comment = Please follow one of the disambiguation links below or [[Special:Search|search]] to find the page you were looking for if it is not listed. If an [[Special:Whatlinkshere/{{FULLPAGENAME}}|internal link]] led you here, you may wish to change the link to point directly to the intended article. | class = notice hidden | id = disambiguation}} <includeonly>__DISAMBIG__[[Category:Disambiguations]]</includeonly><noinclude> {{documentation}}</noinclude> 16605ae9114395add2e702cee409d0bd2deb7603 Template:Cast/doc 10 177 215 2022-07-01T16:20:48Z FANDOM 26064 Created page with "== Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobo..." wikitext text/x-wiki == Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infobox|Fandom's infobox syntax]]. == Syntax == <pre> {{Cast | name = | image = | caption = | birthname = | birthdate = | birthplace = | deathdate = | deathplace = | gender = | height = | occupation = | appears in = | portrays = }} </pre> == Sample output == {{Cast | name = Test | image = Wiki.png | caption = Test | birthname = Name | birthdate = Date | birthplace = Place | deathdate = Date | deathplace = Place | gender = Test | height = Test | occupation = Test | appears in = Test | portrays = Test }} <pre> {{Cast | name = Test | image = Wiki.png | caption = Test | birthname = Name | birthdate = Date | birthplace = Place | deathdate = Date | deathplace = Place | gender = Test | height = Test | occupation = Test | appears in = Test | portrays = Test }} </pre><includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> fea3e74e01ad2f66bb54f921f82426cb1a7fa748 Template:Season/doc 10 178 216 2022-07-01T16:20:48Z FANDOM 26064 Created page with "== Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobo..." wikitext text/x-wiki == Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infobox|Fandom's infobox syntax]]. == Syntax == <pre> {{Season | title = | image = | caption = | season = | episodes = | premiere = | previous = | next = }} </pre> == Sample output == {{Season | title = This is a test | image = Wiki.png | caption = This is a test | season = This is a test | episodes = This is a test | premiere = This is a test | previous = This is a test | next = This is a test }} <pre> {{Season | title = This is a test | image = Wiki.png | caption = This is a test | season = This is a test | episodes = This is a test | premiere = This is a test | previous = This is a test | next = This is a test }} </pre><includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> b3f82f2223cf6f8323820bce6de5427e4b6a1380 Template:Navbox/doc 10 180 218 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description :This template is used to create a basic navigation box. You can do so by calling the template, via the steps under "Syntax", but it is recommended to '''copy the code verbatim''' via the steps under "Navbox Creation". ;Navbox Creation <inputbox> type=create prefix=Template: preload=Template:Navbox editintro=Template:Navbox/doc buttonlabel=Make your navbox! default = Navbox Foo </inputbox> #Think of a name for your navbox, like "Navbox Foo". Type it in the above field, press the button, and save the page immediately. Be ready to return to ''this'' page to see the rest of the instructions. #Edit the resulting page in source mode. #Replace <code>{{{header}}}</code> with the text you would like to appear in the header. #Replace <code>{{{body}}}</code> with the text you would like to appear in the body. #To add another section, copy these four lines of code immediately below the lines in the existing code that they resemble: <pre>|- ! style="padding:0.2em 0.5em;" nowrap="nowrap" class="color1" | {{{header}}} |- | style="padding:0.2em 0.5em;" | {{{body}}}</pre> Save the page once you have added as many sections as you needed, and filled them with content. You may also want to create a /doc subpage explaining that to call the resulting template, one must only type <code>{<nowiki/>{Navbox Foo}}</code>, or rather, whatever we decided to name the template in step 1. ;Syntax <pre>{{navbox |header=Land of Bob |body=This <nowiki>[[place]]</nowiki> and that <nowiki>[[place]]</nowiki>. }}</pre> :Results in... {{navbox |header=Land of Bob |body=This <nowiki>[[place]]</nowiki> and that <nowiki>[[place]]</nowiki>. }} <includeonly>[[Category:Navbox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 4b1a1bf5f00c2d159d30d8f8bc525309ac16d406 Module:Dialogue 828 182 220 2022-07-01T16:20:48Z FANDOM 26064 fixing broken help link Scribunto text/plain -- This Module is used for making templates based in the Lua language. -- See more details about Lua in [[w:Help:Lua]]. -- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden. -- The next line imports the Dialogue module from the [[w:c:dev:Global Lua Modules]]. local Dialogue = require('Dev:Dialogue') -- See more details about this module at [[w:c:dev:Global_Lua_Modules/Dialogue]] -- The last line produces the output for the template return Dialogue a147d7d4d5837eeb0910d21be2904bbae6658ad2 Category:Disambiguations 14 183 221 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:{{SITENAME}}]]" wikitext text/x-wiki [[Category:{{SITENAME}}]] dd8aaa34cf600c1567d240a3f4bc615164a11592 Template:Namespace/doc 10 185 227 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki This is the {{t|Namespace}} meta-template. It helps other templates detect what type of page they are on. It detects and groups all the different [[Wikipedia:Namespace#Enumeration|namespaces]] used on Fandom into several types: ; main : Main (i.e. article) space, where normal articles are kept. ; talk : Any talk space, including page names that start with "Talk:", "User talk:", "File talk:", etc. ;user ;file ;mediawiki ;template ;help ;category : The remaining namespaces. ; other : Any namespaces that were not specified as a parameter to the template (see explanation below). For backwards compatibility, this template handles '''image''' as if '''file'''. '''image''' (<nowiki>[[Image:...]]</nowiki>) is now deprecated. '''Note:''' For most cases it may be better to use the simpler namespace detection templates (see the [[#See also|see also]] section below). This template is more prone to human errors such as misspelling parameter names. This template uses the [[w:Help:Lua|Lua templating language]], and more information can be found [[w:c:dev:Global_Lua_Modules/Namespace_detect|on the Global Lua Module page]]. '''For a traditional wikitext version of this template, see [[w:c:templates:Template:Namespace_detect|Namespace_detect on Templates Wiki]]'''. == Usage == This template takes one or more parameters named after the different page types as listed above. Like this: <pre> {{Namespace | main = Article text | talk = Talk page text | other = Other pages text }} </pre> If the template is on a main (article) page, it will return this: : {{Namespace |demospace=main | main = Article text | talk = Talk page text | other = Other pages text }} If the template is on any other page than an article or a talk page, it will return this: : {{Namespace | main = Article text | talk = Talk page text | other = Other pages text }} The example above made the template return something for all page types. But if we don't use the '''other''' parameter or leave it empty, it will not return anything for the other page types. Like this: <pre> {{Namespace | file = File page text | category = Category page text | other = }} </pre> On any pages other than file and category pages the code above will render nothing. <!-- Do not remove this one. It is supposed to render nothing, but we have it here for testing purposes. --> : {{Namespace | file = File page text | category = Category page text | other = }} By using an empty parameter, you can make it so the template doesn't render anything for some specific page type. Like this: <pre> {{Namespace | main = | other = Other pages text }} </pre> The code above will render nothing when on mainspace (article) pages, but will return this when on other pages: : {{Namespace | main = | other = Other pages text }} == Demospace and page == For testing and demonstration purposes, this template can take two parameters named '''demospace''' and '''page'''. '''demospace''' understands any of the page type names used by this template, including the '''other''' type. It tells the template to behave like it is on some specific type of page. Like this: <pre> {{Namespace | main = Article text | other = Other pages text | demospace = main }} </pre> No matter on what kind of page the code above is used, it will return this: : {{Namespace | main = Article text | other = Other pages text | demospace = main }} The '''page''' parameter instead takes a normal pagename, making this template behave exactly as if on that page. The pagename doesn't have to be an existing page. Like this: <pre> {{Namespace | user = User page text | other = Other pages text | page = User:Example }} </pre> No matter on what kind of page the code above is used, it will return this: : {{Namespace | user = User page text | other = Other pages text | page = User:Example }} It can be convenient to let your template understand the '''demospace''' and/or '''page''' parameter and send it on to the {{T|Namespace}} template. Like this: <pre> {{Namespace | main = Article text | other = Other pages text | demospace = {{{demospace|}}} | page = {{{page|}}} }} </pre> If both the '''demospace''' and '''page''' parameters are empty or undefined, the template will detect page types as usual. == Parameters == List of all parameters: <pre> {{Namespace | main = ... | other = | demospace = {{{demospace|}}} / main / talk / user / file / mediawiki / template / help / category / other | page = {{{page|}}} / User:Example }} </pre> == Technical details == If you intend to feed tables as content to the numbered parameters of this template, you need to know this: [[w:Help:Template|Templates]] have a problem handling parameter data that contains pipes "<code>|</code>" unless the pipe is inside another template <code><nowiki>{{name|param1}}</nowiki></code> or inside a piped link <code><nowiki>[[w:Help:Template|help]]</nowiki></code>. Thus templates can not handle [[w:Help:Table|wikitables]] as input unless you escape them by using the <code><nowiki>{{!}}</nowiki></code> [[w:Help:Magic words|magic word]]. This makes it hard to use wikitables as parameters to templates. Instead, the usual solution is to use HTML wikimarkup for the table code, which is more robust. <includeonly>[[Category:General wiki templates]]{{#ifeq:{{SUBPAGENAME}}|sandbox|[[Category:Namespace manipulation templates]]}}</includeonly><noinclude>[[Category:Template documentation]]</noinclude> abd1a20286343a0c76ff9c575682bd5d011f5a6d Category:Unattributed files 14 186 228 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki __EXPECTUNUSEDCATEGORY__ The files in this category do not have an appropriate license selected and are tagged with the {{t|nolicense}} template. Administrators should review files in this category and either: * Update the file page with an appropriate if one can be easily determined. * Delete the image, though it is good idea to give the uploader a chance to select a license first. [[Category:Images]] [[Category:Maintenance]] fe16ed203269a56dcbf8a76f72943484fe67047f Template:Other free/doc 10 187 229 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description :This template is used to mark images with a free license not covered by other image templates. ;Syntax :Type <code>{{t|Other free}}</code> on the image information page. <includeonly>[[Category:Image license templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> f4a03ee383d67da50c93408169b82b8217ff1404 Template:Further 10 188 230 2022-07-01T16:20:48Z FANDOM 26064 1 revision imported wikitext text/x-wiki <includeonly>{{#invoke:Hatnote|further}}</includeonly> <noinclude>{{Documentation|:Template:Hatnote/doc}}<!-- For a more traditional wikitext version of this template, see https://templates.fandom.com/wiki/Template:Hatnote --></noinclude> 2b274c2a078defdd0995162869db05d3fc772067 Template:Book 10 189 231 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <includeonly><infobox type="Book"> <title source="title"/> <image source="image"><caption source="imagecaption"/></image> <data source="author"><label>Author</label></data> <data source="illustrator"><label>Illustrator</label></data> <data source="datePublished"><label>Published on</label></data> <data source="publisher"><label>Publisher</label></data> <group layout="horizontal"> <header>Publication order</header> <data source="previous"><label>Previous</label></data> <data source="next"><label>Next</label></data> </group> </infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Books]]}}</includeonly><noinclude>{{Documentation}}</noinclude> c4bc425c60ee6f1a263f67a75f6d26aafc236c03 Template:Tocright/doc 10 192 234 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description {{t|tocright}} forces the auto-generated Table of Contents for an article to appear floated to the right side of the page, in order to improve article layout. <includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 1449f71ce473315e9f2ad72064ee5c76ed00c89d Category:General wiki templates 14 193 235 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:Templates]]" wikitext text/x-wiki [[Category:Templates]] 06eecdec29f6cb215c99cf216d1e3bdc8c30a95e Template:Nolicense 10 194 236 2022-07-01T16:20:48Z FANDOM 26064 Created page with "{{LicenseBox|text=''This file does not have information on its copyright status.''}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | <includeonly>[[Category:Unattributed files]]</includeonl..." wikitext text/x-wiki {{LicenseBox|text=''This file does not have information on its copyright status.''}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | <includeonly>[[Category:Unattributed files]]</includeonly>}}<noinclude> {{documentation}}</noinclude> a99128c5d8a0cd0723b13b6d9e5fd78b18dbedec Template:- 10 195 237 2022-07-01T16:20:48Z FANDOM 26064 Redirected page to [[Template:Clear]] wikitext text/x-wiki #REDIRECT [[Template:Clear]] 1a2aa4a9ba7478e54a2b21cbce68887ea297ea86 Template:Hatnote 10 200 242 2022-07-01T16:20:48Z FANDOM 26064 1 revision imported wikitext text/x-wiki <includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude>{{Documentation}}</noinclude> 47651229f8ca41785babe25d56cdae7ac03ad9e1 Template:= 10 201 243 2022-07-01T16:20:48Z FANDOM 26064 Created page with "<includeonly>=</includeonly><noinclude> {{documentation}}<noinclude>" wikitext text/x-wiki <includeonly>=</includeonly><noinclude> {{documentation}}<noinclude> 8f9d55b93874a691b84a9b6acb54bc6dd01fbf39 Template:LicenseBox/doc 10 210 266 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description :This template is used to create the box used by the various image license templates. The default styling is currently geared to a light-themed wiki. If your wiki has a dark theme and this template is too bright relative to the other elements on your wiki, simply change the following style parameters: :<code>background-color:</code> This is the color of the background and is currently set to: <code>#fefefe</code> :<code>border-color:</code> This is the color of the borders and is currently set to: <code>#d6d6d6</code> :<code>color:</code> This is the color of the text and is currently set to: <code>#333</code> ;Syntax :Type <code>{{t|LicenseBox|text{{=}}License text}}</code> on the image information page. <includeonly>[[Category:Image license templates| ]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 9ec2738036e3818826b937975731274577856c0d Template:From Wikimedia/doc 10 212 271 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description :This template is used to mark images as having been uploaded on [[wikipedia:|Wikipedia]] or another [[wikimedia:|Wikimedia]] project. ;Syntax :Type <code>{{t|From Wikimedia}}</code> on the image information page. <includeonly>[[Category:Image license templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 077fe0f228cb18bf949fee95011ec7b36fe64033 Module:Quote 828 213 272 2022-07-01T16:20:48Z FANDOM 26064 Scribunto text/plain -- This Module is used for making templates based in the Lua language. -- See more details about Lua in [[w:Help:Lua]]. -- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden. -- The next line imports the Quote module from the [[w:c:dev:Global Lua Modules]]. local Quote = require('Dev:Quote') -- See more details about this module at [[w:c:dev:Global_Lua_Modules/Quote]] -- The last line produces the output for the template return Quote 6918bf52f0c3bdbd83cc4611b6243a659e7d800b Template:T/doc 10 220 290 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki ;Description A template link with a variable number of parameters (0-20). ;Syntax :{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20}} <!-- self-referential examples! --> ;Source :Improved version not needing t/piece subtemplate developed on [http://templates.fandom.com Templates wiki] see the [http://templates.fandom.com/index.php?title=Template:T&action=history list of authors]. Copied here via CC-By-SA 3.0 license. ;Example :{{t|t|param1|param2}} <includeonly>[[Category:General wiki templates]]</includeonly> <noinclude>[[Category:Template documentation]]</noinclude> 6f7307b6bcfef75efcc1d71fc932366c04cd61b3 Template:Trim 10 224 294 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <includeonly>{{#if:{{{1|}}}|{{{1}}}|}}</includeonly><noinclude> {{documentation}}</noinclude> 21c7177ac37ea769b22ca26a2493df055a56f87a Template:Quest 10 225 295 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <includeonly><infobox type="Quest"> <title source="title"/> <image source="image"><caption source="imagecaption"/></image> <data source="start"><label>Start</label></data> <data source="end"><label>End</label></data> <data source="prerequisites"><label>Prerequisites</label></data> <data source="level"><label>Level</label></data> <data source="location"><label>Location</label></data> <data source="rewards"><label>Rewards</label></data> <group layout="horizontal"> <header>Quest progression</header> <data source="previous"><label>Previous</label></data> <data source="next"><label>Next</label></data> </group> </infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Quests]]}}</includeonly><noinclude>{{Documentation}}</noinclude> 1057bf1c3220419334e60f6b01c07995f871d8f8 Template:Stub 10 228 298 2022-07-01T16:20:48Z FANDOM 26064 Created page with "{{MessageBox |header = Stub |type = stub |text = ''This article is a [[:Category:Stubs|stub]]. You can help {{SITENAME}} by [{{fullurl:{{FULLPAGENAME}}|action=edit}}..." wikitext text/x-wiki {{MessageBox |header = Stub |type = stub |text = ''This article is a [[:Category:Stubs|stub]]. You can help {{SITENAME}} by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].'' |comment = |class = notice hidden plainlinks |id = stub }}<includeonly>[[Category:Stubs]]</includeonly><noinclude> {{Documentation}}</noinclude> 613ef53fa1801107adb93e3c0eb28209ba253a26 Template:PD 10 236 311 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki {{LicenseBox|text=''This file is in the public domain''}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | <includeonly>[[Category:Public domain files]]</includeonly>}}<noinclude> {{documentation}}</noinclude> daf709f747ba95ea06112acade4c78177a475e30 Template:Nolicense/doc 10 237 312 2022-07-01T16:20:48Z FANDOM 26064 Created page with ";Description :This template is used to mark images where the copyright status is not known. It automatically adds the images to the :Category:Unattributed files|Unattribute..." wikitext text/x-wiki ;Description :This template is used to mark images where the copyright status is not known. It automatically adds the images to the [[:Category:Unattributed files|Unattributed files]] category for later maintenance ;Syntax :Type <code>{{t|Nolicense}}</code> on the image information page. <includeonly>[[Category:Image license templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 346dcb940ca838c854f75f3db5229b97cce87d40 Template:Book/doc 10 238 313 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki == Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infobox|Fandom's infobox syntax]]. == Syntax == <pre>{{Book | title = | image = [e.g. "Example.jpg"] | author = | illustrator = | datePublished = | publisher = | previous = | next = }}</pre> == Sample output == {{Book | title = The Adventures of Flower | image = Example.jpg | author = Alice | illustrator = Bob | datePublished = April 1928 | publisher = Arthur's | previous = Book One | next = Book Three }} <pre>{{Book | title = The Adventures of Flower | image = Example.jpg | author = Alice | illustrator = Bob | datePublished = April 1928 | publisher = Arthur's | previous = Book One | next = Book Three }} </pre><includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 7320d1953158c6673ed6ce2be7bc35e2356522e5 Module:Namespace detect/data 828 240 316 2022-07-01T16:20:48Z FANDOM 26064 fixing broken help link Scribunto text/plain -- This Module is used for making templates based in the Lua language. -- See more details about Lua in [[w:Help:Lua]]. -- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden. -- The next line imports from the [[w:c:dev:Global Lua Modules]]. local nsData = require('Dev:Namespace_detect/data') -- See more details about this module at [[w:c:dev:Global_Lua_Modules/Namespace_detect]] -- The imported Module is overwritten locally to include default configuration. -- For a more flexible experience, delete the page import -- and paste (and modify as you like) its contents into this page -- https://dev.fandom.com/wiki/Module:Namespace_detect/data -- The last line produces the output for the template return nsData 4056c252664c31f05a9d54c48fcd865cdf41dd9f Template:Cite web/doc 10 241 317 2022-07-01T16:20:48Z FANDOM 26064 Created page with "__NOTOC__ This template is used to [[Wikipedia:WP:CITE|cite sources]] in Wikipedia. It is specifically for web sites which are not news sources. This template replaces deprec..." wikitext text/x-wiki __NOTOC__ This template is used to [[Wikipedia:WP:CITE|cite sources]] in Wikipedia. It is specifically for web sites which are not news sources. This template replaces deprecated [[Wikipedia:Template:Teb reference|template:web reference]]. It provides lower case parameters only. A general discussion of the use of templates for adding citation of open-source web content to Wikipedia articles is available at [[Wikipedia:Citation templates|citation templates]]. This page uses [[w:Wikia:Licensing|Creative Commons Licensed]] content from [[w:c:Wookieepedia:Template:Cite web|Wookieepedia]] == Usage == ;Common form for cases where little is known about authorship of the page (with current date) <tt><nowiki>{{Cite web |url= |title= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki> |format= |work= }}</nowiki></tt> ;Using last, first (with current date) <tt><nowiki>{{Cite web |url= |title= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki> |last= |first= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}</nowiki></tt> ;Using author (with current date) <tt><nowiki>{{Cite web |url= |title= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki> |author= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}</nowiki></tt> ;Using non-linked retrieved date, last, first <tt><nowiki>{{Cite web |url= |title= |accessmonthday= |accessyear= |last= |first= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}</nowiki></tt> ;Using non-linked retrieved date, author <tt><nowiki>{{Cite web |url= |title= |accessmonthday= |accessyear= |author= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}</nowiki></tt> ;All parameters, horizontal format (delete the ones you don't need) <tt><nowiki>{{Cite web |url= |title= |accessdate= |accessmonthday= |accessdaymonth = |accessyear= |author= |last= |first= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}</nowiki></tt> ;All parameters, vertical format <pre>{{Cite web | url = | title = | accessdate = | accessdaymonth = | accessmonthday = | accessyear = | author = | last = | first = | authorlink = | coauthors = | date = | year = | month = | format = | work = | publisher = | pages = | language = | archiveurl = | archivedate = | quote = }}</pre> === Required parameters === * '''url''': URL of online item. * '''title''': Title of online item. ''For producing a [[Wikipedia:WP:CONTEXT#Dates|wikilinked date]] of retrieval:'' :* '''accessdate''': Full date when item was accessed, in [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, for example "accessdate = {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}". ''Must not be wikilinked'' ''For producing a non-wikilinked date of retrieval:'' :* '''accessmonthday''' and '''accessyear''': Month and day when item was accessed, for example "accessmonthday = May 10", <u>and</u> year when item was accessed, for example "accessyear = 2005". Produces: ''Retrieved on May 10, 2006.'' :* '''accessdaymonth''' and '''accessyear''': Month and day when item was accessed, for example "accessmonthday = 10 May", <u>and</u> year when item was accessed, for example "accessyear = 2005". Produces: ''Retrieved on 10 May 2006.'' === Optional parameters === * '''author''': Author ** '''last''' works with '''first''' to produce <code>last, first</code> ** '''authorlink''' works either with '''author''' or with '''last''' & '''first''' to link to the appropriate wikipedia article. Does not work with URLs. ** '''coauthors''': allows additional authors * '''date''': Full date of publication, preferably in [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. May be wikilinked. ** OR: '''year''': Year of publication, and '''month''': Name of the month of publication. If you also have the day, use ''date'' instead. Must not be wikilinked. * '''format''': Format, e.g. PDF. HTML implied if not specified. * '''work''': If this item is part of a larger work, name of that work. * '''publisher''': Publisher, if any. * '''pages''': ''pp. 5–7'': first page and optional last page. This is for listing the pages relevant to the citation, not the total number of pages in the book. This is especially useful for PDF format, where the page can be linked to with the <code>#page=''number''</code> anchor tagged on the end of the URL: *: <code><nowiki>pages = [http://www.example.org/file.pdf#page=123 p. 123]</nowiki></code> * '''language''': language of publication (don't specify "English" as this is the default). * '''archiveurl''': URL of the archive location of the item (requires '''archivedate''') * '''archivedate''': Date when the item was archived (requires '''archiveurl'''), in [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. Must not be wikilinked; it will be linked automatically. * '''quote''': Relevant quote from online item. == Examples == ;Some standard use cases * <nowiki>{{Cite web | author=Doe, John | title=My Favorite Things Part II | publisher=Open Publishing | date=2005-04-30 | work=Encyclopedia of Things | url=http://www.example.org/ | accessdate=2005-07-06 }}</nowiki><br/>→ <span style="background:white">{{cite web | author=Doe, John | title=My Favorite Things Part II | publisher=Open Publishing | date=2005-04-30 | work=Encyclopedia of Things | url=http://www.example.org | accessdate=2005-07-06 }}</span> * <nowiki>{{Cite web | author=Doe, John | title=My Favorite Things Part II | date=2005-04-30 | work=Encyclopedia of Things | url=http://www.example.org/ | accessdate=2005-07-06 }}</nowiki><br/>→ <span style="background:white">{{cite web | author=Doe, John | title=My Favorite Things Part II | date=2005-04-30 | work=Encyclopedia of Things | url=http://www.example.org | accessdate=2005-07-06 }}</span> * <nowiki>{{Cite web | author=Doe, John | title=My Favorite Things Part II | date=2005-04-30 | url=http://www.example.org/ | accessdate=2005-07-06 }}</nowiki><br/>→ <span style="background:white">{{cite web | author=Doe, John | title=My Favorite Things Part II | date=2005-04-30 | url=http://www.example.org | accessdate=2005-07-06}}</span> * <nowiki>{{Cite web | author=Doe, John | title=My Favorite Things Part II | url=http://www.example.org/ | accessdate=2005-07-06 }}</nowiki><br/>→ <span style="background:white">{{cite web | author=Doe, John | title=My Favorite Things Part II | url=http://www.example.org | accessdate=2005-07-06}}</span> * <nowiki>{{Cite web | title=My Favorite Things Part II | url=http://www.example.org/ | accessdate=2005-07-06 }}</nowiki><br/>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | url=http://www.example.org | accessdate=2005-07-06}}</span> * <nowiki>{{Cite web | url=http://www.nfl.com/fans/ | title=Digest of Rules | publisher= National Football League | accessdate=2005-07-06 }}</nowiki><br>→ <span style="background:white">{{cite web | url=http://www.nfl.com/fans/ | title=Digest of Rules | publisher= National Football League | accessdate=2005-07-06 }}</span> ;Non-linking date of retrieval (using accessmonthday and accessyear) * <nowiki>{{Cite web | title=My Favorite Things Part II | work=Encyclopedia of Things | url=http://www.example.org/ | accessmonthday=July 6 | accessyear=2005 }}</nowiki><br/> → <span style="background:white">{{cite web | title=My Favorite Things Part II | work=Encyclopedia of Things | url=http://www.example.org/ | accessmonthday=July 6 | accessyear=2005 }}</span> ;Using format * <nowiki>{{Cite web | title=List of psychotropic substances under international control | publisher = International Narcotics Control Board | url=http://www.incb.org/pdf/e/list/green.pdf | format = PDF | accessdate=2005-07-06 }}</nowiki><br/> → <span style="background:white">{{cite web | title=List of psychotropic substances under international control | publisher = International Narcotics Control Board | url=http://www.incb.org/pdf/e/list/green.pdf | format = PDF | accessdate=2005-07-06}}</span> ;language * <nowiki>{{Cite web | author=Joliet, François | title=Honnit soit qui mal y pense | date=2005-04-30 | url=http://www.example.org/ | accessdate=2005-07-06 | language=French }}</nowiki><br/>→ <span style="background:white">{{cite web | author=Joliet, François | title=Honnit soit qui mal y pense | date=2005-04-30 | url=http://www.example.org | accessdate=2005-07-06 | language=French}}</span> ;coauthors * <nowiki>{{Cite web | first=John | last=Doe | coauthors=Peter Smith, Jim Smythe | title=My Favorite Things Part II | publisher=Open Publishing | date=2005-04-30 | work=Encyclopedia of Things | url=http://www.example.org/ | accessdate=2006-05-16 }}</nowiki><br/>→ <span style="background:white">{{cite web | first=John | last=Doe | coauthors=Peter Smith, Jim Smythe | title=My Favorite Things Part II | publisher=Open Publishing | date=2005-04-30 | work=Encyclopedia of Things | url=http://www.example.org/ | accessdate=2006-05-16 }}</span> ;No author * <nowiki>{{Cite web | title=My Favorite Things Part II | publisher=Open Publishing | date=2005-04-30 | work=Encyclopedia of Things | url=http://www.example.org/ | accessdate=2006-05-16 }}</nowiki><br/>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | publisher=Open Publishing | date=2005-04-30 | work=Encyclopedia of Things | url=http://www.example.org/ | accessdate=2006-05-16 }}</span> ;No author, no publisher * <nowiki>{{Cite web | title=My Favorite Things Part II | date=2005-04-30 | work=Encyclopedia of Things | url=http://www.example.org/ | accessdate=2005-07-06 }}</nowiki></br>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | date=2005-04-30 | work=Encyclopedia of Things | url=http://www.example.org/ | accessdate=2005-07-06 }}</span> * <nowiki>{{Cite web | title=My Favorite Things Part II | date=2005-04-30 | url=http://www.example.org/ | accessdate=2005-07-06 }}</nowiki><br/>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | date=2005-04-30 | url=http://www.example.org/ | accessdate=2005-07-06 }}</span> * <nowiki>{{Cite web | title=List of psychotropic substances under international control | date=2005-04-30 | url=http://www.incb.org/pdf/e/list/green.pdf | format = PDF | accessdate=2005-07-06 | language=Greek }}</nowiki><br/> → <span style="background:white">{{cite web | title=List of psychotropic substances under international control | date=2005-04-30 | url=http://www.incb.org/pdf/e/list/green.pdf | format = PDF | accessdate=2005-07-06 | language=Greek }}</span> ; Using archiveurl and archivedate to refer to items that went away but are available from an archive site * <nowiki>{{Cite web | title=List of psychotropic substances under international control | date=2005-04-30 | url=http://www.incb.org/pdf/e/list/green.pdf | format = PDF | accessdate=2005-07-06 | archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf | archivedate=2005-09-11 }}</nowiki><br/> → <span style="background:white">{{cite web | title=List of psychotropic substances under international control | date=2005-04-30 | url=http://www.incb.org/pdf/e/list/green.pdf | format = PDF | accessdate=2005-07-06 | archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf | archivedate=2005-09-11 }}</span> * <nowiki> {{Cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=2006-03-31 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=2006-04-26 }}</nowiki><br/> → <span style="background:white">{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=2006-03-31 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=2006-04-26}}</span> ; Using quote * <nowiki>{{Cite web | title = My Favorite Things Part II | work = Encyclopedia of Things | url = http://www.example.org/ | accessdate = 2005-07-06 | quote = Lorem ipsum dolor. }}</nowiki><br/>→ <span style="background:white">{{cite web | title = My Favorite Things Part II | work = Encyclopedia of Things | url = http://www.example.org/ | accessdate = 2005-07-06 | quote = Lorem ipsum dolor. }}</span> ;No parameters (error) * <nowiki>{{Cite web}}</nowiki><br/>→ <span style="background:white">{{cite web}}</span> <includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 49566b6a3601a57e7e4d3521179ec7d3300ec2a1 Template:Episode/doc 10 243 319 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki == Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infobox|Fandom's infobox syntax]]. == Syntax == <pre>{{Episode | title = | partOfSeason = | episodeNumber = | image = [e.g. "Example.jpg"] | airDate = | writer = | director = | previousEpisode = | nextEpisode = }}</pre> == Sample output == {{Episode | title = Flower of Babel | partOfSeason = One | episodeNumber = Three | image = Example.jpg | airDate = Unaired | writer = D. Righta | director = A. di Rektour | previousEpisode = Episode Two | nextEpisode = Episode Four }}<pre>{{Episode | title = Flower of Babel | partOfSeason = One | episodeNumber = Three | image = Example.jpg | airDate = Unaired | writer = D. Righta | director = A. di Rektour | previousEpisode = Episode Two | nextEpisode = Episode Four }}</pre> <includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 422683315393b9908127727460675544f6ffb8cf Template:MIT 10 244 320 2022-07-01T16:20:48Z FANDOM 26064 Created page with "{{LicenseBox|text=''This work is licensed under the [https://opensource.org/licenses/MIT MIT License].''}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | <includeonly>Category:MIT licens..." wikitext text/x-wiki {{LicenseBox|text=''This work is licensed under the [https://opensource.org/licenses/MIT MIT License].''}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | <includeonly>[[Category:MIT license files]]</includeonly>}}<noinclude> {{documentation}}</noinclude> fa53e460d1a0d2cfb9e350fa64292cc428aed859 Template:Topic/doc 10 245 321 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki == Description == This template uses your wiki's <code>SITENAME</code> and strips off the word "wiki" leaving what is in most cases the text describing the topic of your wiki. To use this template in its basic form, simply add the {{T|{{BASEPAGENAME}}}} template wherever you want your topic to appear in a sentence or section. If your wiki's <code>SITENAME</code> minus the word "wiki" is not a good descriptor for your wiki's topic, you may also simply edit the template and replace it with just the text you want displayed. == Syntax == <pre>{{Topic}}</pre> == Sample output == {{Topic}} <includeonly>[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> 54e98cb6fa2fa6aec9e9fa9b138b0cd6d5bf321b Module:Mbox/data/doc 828 246 322 2022-07-01T16:20:48Z FANDOM 26064 to get rid of a red link for documentation wikitext text/x-wiki This is a sub-module of [[Module:Mbox]] and is used to specify the CSS properties for message boxes. fcd42c844d485c7da3317a85c9521ea96145cb35 Module:Hatnote/doc 828 249 325 2022-07-01T16:20:48Z FANDOM 26064 getting rid of red links wikitext text/x-wiki This module is invoked by the {{t|Hatnote}} template, which is used by a number of [[:Category:Notice templates|Notice templates]]. b5c1fc43f0f6bd96416f2fec21a7da0b34ae8aac Template:Location 10 250 326 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki <includeonly><infobox type="Location"> <title source="title"/> <image source="image"><caption source="imagecaption"/></image> <image source="map"><caption source="mapcaption"/></image> <data source="type"><label>Type</label></data> <data source="level"><label>Level</label></data> <data source="location"><label>Location</label></data> <data source="inhabitants"><label>Inhabitants</label></data> </infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Locations]]}}</includeonly><noinclude>{{Documentation}}</noinclude> 74c089bf3093e560bd6a2144977d9d0bc5faebc0 Category:Templates 14 251 327 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:Maintenance]]" wikitext text/x-wiki [[Category:Maintenance]] a106a39e26c77e7b2ec90cb83728a6446cb6a1a1 Category:Documentation templates 14 253 329 2022-07-01T16:20:48Z FANDOM 26064 Created page with "[[Category:Templates]]" wikitext text/x-wiki [[Category:Templates]] 06eecdec29f6cb215c99cf216d1e3bdc8c30a95e Module:Hatnote 828 255 331 2022-07-01T16:20:48Z FANDOM 26064 Scribunto text/plain -- This Module is used for making templates based in the Lua language. -- See more details about Lua in [[w:Help:Lua]]. -- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden. -- The next line imports the Hatnote module from the [[w:c:dev:Global Lua Modules]]. local H = require('Dev:Hatnote') -- See more details about this module at [[w:c:dev:Global_Lua_Modules/Hatnote]] -- The last line produces the output for the template return H d52966e186d4771ee7844be7f402467c51644349 Template:Dialogue/doc 10 256 332 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki {{t|Dialogue}} facilitates the writing of dialogue in a standard format. The template can handle most standard formats of writing dialogue, and can be indented, bulleted or numbered. '''This template ''cannot'' be <code>subst:</code>'d'''. This template uses the [[w:Help:Lua|Lua templating language]], and more information can be found [[w:c:dev:Global_Lua_Modules/Dialogue|on the Global Lua Module page]]. '''For a traditional wikitext version of this template, see [[w:c:templates:Template:Dialogue/wikitext|Dialogue on Templates Wiki]]'''. ==Syntax== This is how to write the template in [[w:Help:wikitext|wikitext]] onto your article: <pre>{{dialogue |short=full |short=full |short=full ... |Character|Speech |Character|Speech |Character|Speech ... |cite = dialogue description }}</pre> These parameters are explained more fully below. ==Parameters== '''Named parameters specify name shortcuts. They are all optional.''' They are placed at the top of the template call, like this: <pre>{{dialogue |short=full |short=full |short=full ...</pre> Name shortcuts apply to your main dialogue text. If you use a shortcut specified here for a character name, then the full name will be replaced for it. Named parameters of the form "<code>mood1</code>", "<code>mood2</code>", "<code>mood3</code>", etc., up to "<code>mood10</code>", specify moods for the corresponding line number (e.g. "<code>mood1</code>" specifies line 1). They are placed in a line like this: <pre>... |Character|Speech|mood1=angry |Character|Speech|mood2=quiet |Character|Speech|mood3=ecstatic ...</pre> Positional parameters form the text of the dialogue (i.e. any line not containing an "<code>=</code>" will be construed as part of the dialogue. :;<code>Parameter 1</code> ''(required)'' : Character name speaking :;<code>Parameter 2</code> ''(optional)'' : Line to speak :;<code>Parameter 3</code> ''(optional)'' : Next character :;<code>Parameter 4</code> ''(optional)'' : Next line :;<code>Parameter 5</code> ''(optional)'' : Next character :;<code>Parameter 6</code> ''(optional)'' : Next line :;<code>Parameter 7</code> ''(optional)'' : so on... Note: if any character is called "<code>action</code>" then that line will be construed as an action line. It still counts as a ''line'' nonetheless. To write a dialogue description/source, use <code>cite =</code> ==Examples== Here is an example of a full template usage: <pre>{{dialogue |harry=Harry Enfield |bryan=Bryan Adams |harry|Hello! |mood1=happy |bryan|Oh hello there |mood2=surprised |harry|How are you? |mood3=inquisitive |bryan|Quite fine thank you. |mood4=reserved |harry|Oh that's spiffing. |mood5=spiffed |bryan|It is, isn't it?! |mood6=multo-spiffed |harry|Quite so. |mood7=bored |bryan|Well, I'm off! |mood8=joyous |harry|Ta-ta! |mood9=relieved |bryan|Au revoir! |mood10=sarcastic }}</pre> The above would generate: {{dialogue |harry=Harry Enfield |bryan=Bryan Adams |harry|Hello! |mood1=happy |bryan|Oh hello there |mood2=surprised |harry|How are you? |mood3=inquisitive |bryan|Quite fine thank you. |mood4=reserved |harry|Oh that's spiffing. |mood5=spiffed |bryan|It is, isn't it?! |mood6=multo-spiffed |harry|Quite so. |mood7=bored |bryan|Well, I'm off! |mood8=joyous |harry|Ta-ta! |mood9=relieved |bryan|Au revoir! |mood10=sarcastic }} The below code demonstrates examples of extended use: <pre>{{dialogue |george=Georgie Boy |rachel=Rachel |action|Enter: George and Rachel |george|Good morrow dearest Rachel!|mood2=happy |action|Rachel turns to see him |rachel|Oh, George, it's you! |george|... |rachel|Why won't you say anything?!|mood6=worried |action|Enter: Guards |Guards|We are announcing George's arrest! |rachel|Oh my!|mood9=horrified |action|George is dragged away. }}</pre> The above would generate: {{dialogue |george=Georgie Boy |rachel=Rachel |action|Enter: George and Rachel |george|Good morrow dearest Rachel!|mood2=happy |action|Rachel turns to see him |rachel|Oh, George, it's you! |george|... |rachel|Why won't you say anything?!|mood6=worried |action|Enter: Guards |Guards|We are announcing George's arrest! |rachel|Oh my!|mood9=horrified |action|George is dragged away. }} ===Notes=== You can number, bullet or indent your dialogue: <pre>:{{dialogue|Me|Hello|You|Howdido!}}</pre> :{{dialogue|Me|Hello|You|Howdido!}} <pre>#{{dialogue|Me|Hello|You|Howdido!}} #{{dialogue|Them|Good afternoon|Us|What a load of rubbish!}}</pre> #{{dialogue|Me|Hello|You|Howdido!}} #{{dialogue|Them|Good afternoon|Us|What a load of rubbish!}} <pre>*{{dialogue |angel=Fortitude |angel|I am an angel!|Crowd|We don't believe you!}} *{{dialogue |angel=Fortitude |angel|But I'm being quite serious!|Crowd|Too bad for you then!}}</pre> *{{dialogue |angel=Fortitude |angel|I am an angel!|Crowd|We don't believe you!}} *{{dialogue |angel=Fortitude |angel|But I'm being quite serious!|Crowd|Too bad for you then!}} You will get the odd spacing error (e.g. "Speech<code><nowiki><space></nowiki></code>") if you lay out your dialogue on multiple lines. <includeonly>[[Category:Quote templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> 56b3a94f307db52b25c728122e451a63e806c791 Template:Item/doc 10 257 333 2022-07-01T16:20:48Z FANDOM 26064 wikitext text/x-wiki == Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infobox|Fandom's infobox syntax]]. == Syntax == <pre> {{Item | title = | image = [e.g. "Example.jpg"] | imagecaption = | type = | effects = | source = | buy = | sell = }} </pre> == Sample output == {{Item | title = Power Flower | image = Example.jpg | type = Food | effects = +1 Fire | source = Vendor | buy = 5g | sell = 1g }}<pre> {{Item | title = Power Flower | image = Example.jpg | type = Food | effects = +1 Fire | source = Vendor | buy = 5g | sell = 1g }} </pre><includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> ecd61f0a9df462e9790349a7ef0034b375ef0e2b File:Site-logo.png 6 54 68 2022-07-01T16:58:40Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 69 68 2022-07-01T16:58:41Z Greenyglass 81698 Protected "[[File:Site-logo.png]]": Theme designer protected image ([Create=Allow only administrators] (expires 16:58, 1 July 2022 (UTC)) [Upload=Allow only administrators] (indefinite)) wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Site-background-light 6 100 128 2022-07-01T16:58:40Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Site-community-image 6 112 141 2022-07-01T16:58:40Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Site-favicon.ico 6 239 314 2022-07-01T16:58:40Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Site-background-light 6 100 129 128 2022-07-01T16:58:41Z Greenyglass 81698 Protected "[[File:Site-background-light]]": Theme designer protected image ([Create=Allow only administrators] (expires 16:58, 1 July 2022 (UTC)) [Upload=Allow only administrators] (indefinite)) wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Site-community-image 6 112 142 141 2022-07-01T16:58:41Z Greenyglass 81698 Protected "[[File:Site-community-image]]": Theme designer protected image ([Create=Allow only administrators] (expires 16:58, 1 July 2022 (UTC)) [Upload=Allow only administrators] (indefinite)) wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Site-favicon.ico 6 239 315 314 2022-07-01T16:58:41Z Greenyglass 81698 Protected "[[File:Site-favicon.ico]]": Theme designer protected image ([Create=Allow only administrators] (expires 16:58, 1 July 2022 (UTC)) [Upload=Allow only administrators] (indefinite)) wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Upgrades 0 211 267 2022-07-01T17:01:46Z Greenyglass 81698 Created blank page wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Shopkeepers 0 162 199 2022-07-01T17:03:29Z Greenyglass 81698 Created page with "Shopkeepers are non-playable characters found at the end of each level. Shopkeepers provide the player with upgrades, and will sell items for coins." wikitext text/x-wiki Shopkeepers are non-playable characters found at the end of each level. Shopkeepers provide the player with upgrades, and will sell items for coins. ebb492eb8a83e4521bab4b67ef98e29157c60a7b Piggy Bank 0 202 244 2022-07-01T17:05:59Z Greenyglass 81698 Created blank page wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 245 244 2022-07-01T17:11:00Z Greenyglass 81698 wikitext text/x-wiki {| class="fandom-table" |+ !Description |Jump to gain 1 coin |- !Unlock Conditions |Earn 10 rubies from the piggy bank in one game |} [[Category:Upgrades]] 71622ae286f3d3ed60b8f620648398967a983d2d 246 245 2022-07-01T17:15:56Z Greenyglass 81698 wikitext text/x-wiki {| class="fandom-table" !Description |Jump to gain 1 coin |- !Unlock Conditions |Earn 10 rubies from the piggy bank in one game |} === Additional Effects === * Jumping from the ground always produces 1 coin * Jumping in mid-air sometimes produces 1 ruby instead with certain probabilities: ** 20% if the Ruby Wand is active; otherwise ** 10% if Treasure Tracker is equipped; otherwise ** 5% * Nothing will be produced if jumping in a previously traveled location, e.g. traveling backwards through a portal [[Category:Upgrades]] 43abbe224346bdf71adfed978482c3dfbfea230e 247 246 2022-07-01T17:38:01Z Greenyglass 81698 wikitext text/x-wiki {| class="fandom-table" !Description |Jump to gain 1 coin |- !Unlock Conditions |Earn 10 rubies from the piggy bank in one game |} === Additional Effects === * Jumping in mid-air will sometimes produce 1 ruby instead of 1 coin, with certain probabilities: ** 20% if the Ruby Wand is active; otherwise ** 10% if Treasure Tracker is equipped; otherwise ** 5% * Nothing will be produced if jumping in a previously traveled location, e.g. traveling backwards through a portal [[Category:Upgrades]] 296dbc629aceca4f0968a7f592b4b67a016a19d8 248 247 2022-07-10T05:13:36Z Greenyglass 81698 wikitext text/x-wiki [[File:Upgrade Icon Piggy Bank.png|thumb]] {| class="fandom-table" !Description |Jump to gain 1 coin |- !Unlock Conditions |Earn 10 rubies from the piggy bank in one game |} === Additional Effects === * Jumping in mid-air will sometimes produce 1 ruby instead of 1 coin, with certain probabilities: ** 20% if the Ruby Wand is active; otherwise ** 10% if Treasure Tracker is equipped; otherwise ** 5% * Nothing will be produced if jumping in a previously traveled location, e.g. traveling backwards through a portal [[Category:Upgrades]] c72dde6b94f1c8f622afd5880e1a2dfbea5d6ecc 249 248 2022-07-10T14:57:38Z Greenyglass 81698 wikitext text/x-wiki {{Upgrade | image1 = Upgrade Icon Piggy Bank.png | description = Jump to gain 1 coin | unlock_condition = Earn 10 rubies from the piggy bank in one game }} === Additional Effects === * Jumping in mid-air will sometimes produce 1 ruby instead of 1 coin, with certain probabilities: ** 20% if the Ruby Wand is active; otherwise ** 10% if Treasure Tracker is equipped; otherwise ** 5% * Nothing will be produced if jumping in a previously traveled location, e.g. traveling backwards through a portal [[Category:Upgrades]] 3b79a445d015165e9defa9e68f7c5860f9ea28f4 Category:Upgrades 14 37 47 2022-07-01T17:18:55Z Greenyglass 81698 Created page with "Upgrades are additional effects and abilities acquired while during a run. Shopkeepers offer a random set of free upgrades to choose from. They can also be acquired through Momo's Loot Box, or pre-equipped before the start of a run." wikitext text/x-wiki Upgrades are additional effects and abilities acquired while during a run. Shopkeepers offer a random set of free upgrades to choose from. They can also be acquired through Momo's Loot Box, or pre-equipped before the start of a run. aa11919abed6e9a3817199b1157e8644f6bffc3b Trusty Pickaxe 0 184 222 2022-07-01T17:23:47Z Greenyglass 81698 Created page with "{| class="fandom-table" !Description |Some dirt blocks contain coins |- !Unlock Conditions |Destroy 40 coin-filled dirt blocks in one game |} ===Additional Effects=== *Precisely, 25% of dirt blocks will contain 8 coins *The quantity of the coins received is affected by Money Bag [[Category:Upgrades]]" wikitext text/x-wiki {| class="fandom-table" !Description |Some dirt blocks contain coins |- !Unlock Conditions |Destroy 40 coin-filled dirt blocks in one game |} ===Additional Effects=== *Precisely, 25% of dirt blocks will contain 8 coins *The quantity of the coins received is affected by Money Bag [[Category:Upgrades]] 5e9e13fc427838df1cb6c349620322292e644d96 223 222 2022-07-01T17:30:25Z Greenyglass 81698 wikitext text/x-wiki {| class="fandom-table" !Description |Some dirt blocks contain coins |- !Unlock Conditions |Destroy 40 coin-filled dirt blocks in one game |} ===Additional Effects=== *Precisely, 25% of dirt blocks will contain 8 coins *The quantity of the coins received is affected by [[Money Bag]] [[Category:Upgrades]] 18a2174f8c7a7e8c56ab92f170aacce1ed1e84c2 224 223 2022-07-01T17:37:00Z Greenyglass 81698 wikitext text/x-wiki {| class="fandom-table" !Description |Some dirt blocks contain coins |- !Unlock Conditions |Destroy 40 coin-filled dirt blocks in one game |} === Details === 25% of dirt blocks will contain 8 coins. ===Additional Effects=== *The quantity of the coins received is affected by [[Money Bag]] [[Category:Upgrades]] b8d33c8745a9ef4f8343410a4283d1a34a40a722 Money Bag 0 160 193 2022-07-01T17:29:52Z Greenyglass 81698 Created page with "{| class="fandom-table" !Description |Enemies and objects drop additional coins |- !Unlock Conditions |Have 1500 total coins in one game |} ===Additional Effects=== *The amount of additional coins varies depending on the original coin value: **1-2 coins: +1 **3-6 coins: +2 **7-10 coins: +3 **11-25 coins: +5 **26-50 coins: +10 **51 or more coins: +20 *Midas Wand coin return value is affected *[[Piggy Bank]] coin drops are '''not''' affected [[Category:Upgrades]]" wikitext text/x-wiki {| class="fandom-table" !Description |Enemies and objects drop additional coins |- !Unlock Conditions |Have 1500 total coins in one game |} ===Additional Effects=== *The amount of additional coins varies depending on the original coin value: **1-2 coins: +1 **3-6 coins: +2 **7-10 coins: +3 **11-25 coins: +5 **26-50 coins: +10 **51 or more coins: +20 *Midas Wand coin return value is affected *[[Piggy Bank]] coin drops are '''not''' affected [[Category:Upgrades]] 019e6bd79d46cbe3f142dad0c6ec658d92b5a9a0 194 193 2022-07-01T17:34:39Z Greenyglass 81698 wikitext text/x-wiki {| class="fandom-table" !Description |Enemies and objects drop additional coins |- !Unlock Conditions |Have 1500 total coins in one game |} {| class="fandom-table" |+The amount of additional coins varies depending on the original coin value. !Original Coin Value !Additional Coins |- |1-2 |1 |- |3-6 |2 |- |7-10 |3 |- |11-25 |5 |- |26-50 |10 |- |51 or more |20 |} === Additional Effects === *Midas Wand coin return value is affected *[[Piggy Bank]] coin drops are '''not''' affected [[Category:Upgrades]] 23c48971ce4654f069bf0b0b9700a15c11d92be4 195 194 2022-07-01T17:35:02Z Greenyglass 81698 wikitext text/x-wiki {| class="fandom-table" !Description |Enemies and objects drop additional coins |- !Unlock Conditions |Have 1500 total coins in one game |} The amount of additional coins varies depending on the original coin value. {| class="fandom-table" !Original Coin Value !Additional Coins |- |1-2 |1 |- |3-6 |2 |- |7-10 |3 |- |11-25 |5 |- |26-50 |10 |- |51 or more |20 |} === Additional Effects === *Midas Wand coin return value is affected *[[Piggy Bank]] coin drops are '''not''' affected [[Category:Upgrades]] 494ff600749b9205cdb1c98bf85923de7e42cc8a 196 195 2022-07-01T17:36:14Z Greenyglass 81698 wikitext text/x-wiki {| class="fandom-table" !Description |Enemies and objects drop additional coins |- !Unlock Conditions |Have 1500 total coins in one game |} === Details === The amount of additional coins varies depending on the original coin value. {| class="fandom-table" !Original Coin Value !Additional Coins |- |1-2 |1 |- |3-6 |2 |- |7-10 |3 |- |11-25 |5 |- |26-50 |10 |- |51 or more |20 |} === Additional Effects === *Midas Wand coin return value is affected *[[Piggy Bank]] coin drops are '''not''' affected [[Category:Upgrades]] cd8ea68d2e5140ffaca3aa2cb19b63f72f0aa54d Shroom Charm 0 20 26 2022-07-01T17:46:25Z Greenyglass 81698 Created page with "{| class="fandom-table" !Description |Jump on mushrooms to receive coins or stars |- !Unlock Condition |Receive goods from 25 mushrooms in one game |} === Details === 30% of mushrooms will contain 10 coins, and the other 70% contain 1 star. The contents are rewarded when the player jumps on the mushroom. === Additional Effects === * No mushrooms will be spiky * When Treasure Tracker is equipped, 60% of mushrooms contain 10 coins, and the other 40% contain 1 star * The..." wikitext text/x-wiki {| class="fandom-table" !Description |Jump on mushrooms to receive coins or stars |- !Unlock Condition |Receive goods from 25 mushrooms in one game |} === Details === 30% of mushrooms will contain 10 coins, and the other 70% contain 1 star. The contents are rewarded when the player jumps on the mushroom. === Additional Effects === * No mushrooms will be spiky * When Treasure Tracker is equipped, 60% of mushrooms contain 10 coins, and the other 40% contain 1 star * The quantity of coins dropped is affected by [[Money Bag]] * Enemies jumping on the mushroom will not release its contents 79815dca4f9541237f7bac5e5366f5755c949623 File:Upgrades23.png 6 39 49 2022-07-10T05:13:19Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Template:Upgrade 10 204 255 2022-07-10T14:56:12Z Greenyglass 81698 Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="description"> <label>Description</label> </data> <data source="unlock_condition"> <label>Unlock Condition</label> </data> </infobox> <noinclude> Example usage: <pre> {{Upgrade | title1=Example | image1=Example | caption1=Example | description=Example | unlock_condition=Example..." wikitext text/x-wiki <infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="description"> <label>Description</label> </data> <data source="unlock_condition"> <label>Unlock Condition</label> </data> </infobox> <noinclude> Example usage: <pre> {{Upgrade | title1=Example | image1=Example | caption1=Example | description=Example | unlock_condition=Example }} </pre> <templatedata> {"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"description":{"suggested":true},"unlock_condition":{"suggested":true}},"sets":[],"maps":{}} </templatedata> </noinclude> 2cf92aa9859ecc6df620ebef722d71625f7504df File:Upgrades29.png 6 217 287 2022-07-10T15:03:06Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades22.png 6 9 15 2022-07-10T15:03:07Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades18.png 6 18 24 2022-07-10T15:03:07Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades21.png 6 58 73 2022-07-10T15:03:07Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades26.png 6 85 110 2022-07-10T15:03:07Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades14.png 6 164 202 2022-07-10T15:03:07Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades16.png 6 179 217 2022-07-10T15:03:07Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades7.png 6 196 238 2022-07-10T15:03:07Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades19.png 6 208 264 2022-07-10T15:03:07Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades12.png 6 216 286 2022-07-10T15:03:07Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades5.png 6 223 293 2022-07-10T15:03:07Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades28.png 6 226 296 2022-07-10T15:03:07Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades25.png 6 233 308 2022-07-10T15:03:07Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades27.png 6 242 318 2022-07-10T15:03:07Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades20.png 6 258 334 2022-07-10T15:03:07Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades15.png 6 30 40 2022-07-10T15:03:08Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades6.png 6 43 57 2022-07-10T15:03:08Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades9.png 6 47 61 2022-07-10T15:03:08Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades4.png 6 64 79 2022-07-10T15:03:08Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades17.png 6 84 109 2022-07-10T15:03:08Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades13.png 6 97 125 2022-07-10T15:03:08Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades11.png 6 123 155 2022-07-10T15:03:08Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades2.png 6 150 182 2022-07-10T15:03:08Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades24.png 6 157 190 2022-07-10T15:03:08Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades10.png 6 214 273 2022-07-10T15:03:08Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades8.png 6 231 301 2022-07-10T15:03:08Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades3.png 6 235 310 2022-07-10T15:03:08Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Upgrades1.png 6 254 330 2022-07-10T15:03:08Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Shroom Charm 0 20 27 26 2022-07-10T15:04:47Z Greenyglass 81698 wikitext text/x-wiki {{Upgrade |image1=Upgrades8.png |description=Jump on mushrooms to receive coins or stars |unlock_condition=Receive goods from 25 mushrooms in one game }} === Details === 30% of mushrooms will contain 10 coins, and the other 70% contain 1 star. The contents are rewarded when the player jumps on the mushroom. === Additional Effects === * No mushrooms will be spiky * When Treasure Tracker is equipped, 60% of mushrooms contain 10 coins, and the other 40% contain 1 star * The quantity of coins dropped is affected by [[Money Bag]] * Enemies jumping on the mushroom will not release its contents ba5934a81b26d84973cdfe88fd6291c455742a7d 28 27 2022-07-10T15:09:17Z Greenyglass 81698 wikitext text/x-wiki {{Upgrade |image1=Upgrades8.png |description=Jump on mushrooms to receive coins or stars |unlock_condition=Receive goods from 25 mushrooms in one game }} === Details === 30% of mushrooms will contain 10 coins, and the other 70% contain 1 star. The contents are rewarded when the player jumps on the mushroom. === Additional Effects === * No mushrooms will be spiky * When Treasure Tracker is equipped, 60% of mushrooms contain 10 coins, and the other 40% contain 1 star * The quantity of coins dropped is affected by [[Money Bag]] * Enemies jumping on the mushroom will not release its contents [[Category:Upgrades]] 2d7d8d90e56fd95717d26af647910b60893fa2e3 Trusty Pickaxe 0 184 225 224 2022-07-10T15:05:56Z Greenyglass 81698 wikitext text/x-wiki {{Upgrade |image1=Upgrades16.png |description=Some dirt blocks contain coins |unlock_condition=Destroy 40 coin-filled dirt blocks in one game }} === Details === 25% of dirt blocks will contain 8 coins. ===Additional Effects=== *The quantity of the coins received is affected by [[Money Bag]] [[Category:Upgrades]] 84ed71f890d4b1e1aafb006ef65e19f8ae26fa1a Money Bag 0 160 197 196 2022-07-10T15:07:13Z Greenyglass 81698 wikitext text/x-wiki {{Upgrade |image1=Upgrades2.png |description=Enemies and objects drop additional coins |unlock_condition=Have 1500 total coins in one game }} === Details === The amount of additional coins varies depending on the original coin value. {| class="fandom-table" !Original Coin Value !Additional Coins |- |1-2 |1 |- |3-6 |2 |- |7-10 |3 |- |11-25 |5 |- |26-50 |10 |- |51 or more |20 |} === Additional Effects === *Midas Wand coin return value is affected *[[Piggy Bank]] coin drops are '''not''' affected [[Category:Upgrades]] dd71c6ead3271ab21cb12f46c2b8ce3c35636dc4 Piggy Bank 0 202 250 249 2022-07-10T15:10:42Z Greenyglass 81698 wikitext text/x-wiki {{Upgrade |image1=Upgrades23.png |description=Jump to gain 1 coin |unlock_condition=Earn 10 rubies from the piggy bank in one game }} === Additional Effects === * Jumping in mid-air will sometimes produce 1 ruby instead of 1 coin, with certain probabilities: ** 20% if the Ruby Wand is active; otherwise ** 10% if Treasure Tracker is equipped; otherwise ** 5% * Nothing will be produced if jumping in a previously traveled location, e.g. traveling backwards through a portal [[Category:Upgrades]] 615e86dcbf10ff882926ccba21d91d6b11365fc1 251 250 2022-07-10T15:11:28Z Greenyglass 81698 wikitext text/x-wiki {{Upgrade |image1=upgrades23.png |description=Jump to gain 1 coin |unlock_condition=Earn 10 rubies from the piggy bank in one game }} === Additional Effects === * Jumping in mid-air will sometimes produce 1 ruby instead of 1 coin, with certain probabilities: ** 20% if the Ruby Wand is active; otherwise ** 10% if Treasure Tracker is equipped; otherwise ** 5% * Nothing will be produced if jumping in a previously traveled location, e.g. traveling backwards through a portal [[Category:Upgrades]] 377805e0d28fbff3c2128d50a6ce5b2f6e923b78 252 251 2022-07-10T15:12:01Z Greenyglass 81698 wikitext text/x-wiki {{Upgrade |image1=Upgrades23.png |description=Jump to gain 1 coin |unlock_condition=Earn 10 rubies from the piggy bank in one game }} === Additional Effects === * Jumping in mid-air will sometimes produce 1 ruby instead of 1 coin, with certain probabilities: ** 20% if the Ruby Wand is active; otherwise ** 10% if Treasure Tracker is equipped; otherwise ** 5% * Nothing will be produced if jumping in a previously traveled location, e.g. traveling backwards through a portal [[Category:Upgrades]] 615e86dcbf10ff882926ccba21d91d6b11365fc1 File:Upgrades23.png 6 39 50 49 2022-07-10T15:18:33Z Greenyglass 81698 Greenyglass moved page [[File:Upgrade Icon Piggy Bank.png]] to [[File:Upgrades23.png]] without leaving a redirect wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Template:Shopkeeper 10 207 263 2022-07-11T17:24:29Z Greenyglass 81698 Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="special_items"> <label>Special Items</label> </data> <data source="species"> <label>Species</label> </data> <data source="pronouns"> <label>Pronouns</label> </data> </infobox> <noinclude> Example usage: <pre> {{Shopkeeper | title1=Example | image1=Example | caption1=Example..." wikitext text/x-wiki <infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="special_items"> <label>Special Items</label> </data> <data source="species"> <label>Species</label> </data> <data source="pronouns"> <label>Pronouns</label> </data> </infobox> <noinclude> Example usage: <pre> {{Shopkeeper | title1=Example | image1=Example | caption1=Example | special_items=Example | species=Example | pronouns=Example }} </pre> <templatedata> {"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"special_items":{"suggested":true},"species":{"suggested":true},"pronouns":{"suggested":true}},"sets":[],"maps":{}} </templatedata> </noinclude> 87fa7800aefd44d22e702cf87045ced8e000fadc Template:Badge 10 90 118 2022-07-11T17:31:43Z Greenyglass 81698 Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="description"> <label>Description</label> </data> </infobox> <noinclude> Example usage: <pre> {{Badge | title1=Example | image1=Example | caption1=Example | description=Example }} </pre> <templatedata> {"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption1":{"sugges..." wikitext text/x-wiki <infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="description"> <label>Description</label> </data> </infobox> <noinclude> Example usage: <pre> {{Badge | title1=Example | image1=Example | caption1=Example | description=Example }} </pre> <templatedata> {"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"description":{"suggested":true}},"sets":[],"maps":{}} </templatedata> </noinclude> cd08c8917a4e9b9087f3acddadd00325de11ecbc File:AchievementBanana.png 6 71 86 2022-07-11T17:33:34Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:AchievementHats.png 6 52 66 2022-07-11T17:33:36Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:AchievementGhost.png 6 14 20 2022-07-11T17:33:37Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:AchievementCoffee.png 6 89 117 2022-07-11T17:33:37Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:AchievementNight.png 6 145 177 2022-07-11T17:33:37Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:AchievementStash.png 6 154 187 2022-07-11T17:33:37Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:AchievementMidas.png 6 49 63 2022-07-11T17:33:38Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:AchievementRare.png 6 142 174 2022-07-11T17:33:38Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:AchievementPumpkin.png 6 165 203 2022-07-11T17:33:38Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:AchievementSleep.png 6 205 261 2022-07-11T17:33:38Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:AchievementWasp.png 6 209 265 2022-07-11T17:33:38Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:AchievementTeapot.png 6 147 179 2022-07-11T17:33:39Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Badges 0 118 148 2022-07-11T17:52:47Z Greenyglass 81698 Created page with "Badges are rewarded for various accomplishments in the game. They are tied to achievements on Apple Game Center and Google Play Games. The challenges can be viewed in the Achievements screen and will become visible once achieved. {| class="fandom-table" !Image !Name !Description !How to Achieve |- |[[File:AchievementSleep.png|frameless|100x100px]] |Goodnight Badge |Get some shut-eye |Reach the end of level 10 and choose to sleep. |- |File:AchievementNight.png|frameless..." wikitext text/x-wiki Badges are rewarded for various accomplishments in the game. They are tied to achievements on Apple Game Center and Google Play Games. The challenges can be viewed in the Achievements screen and will become visible once achieved. {| class="fandom-table" !Image !Name !Description !How to Achieve |- |[[File:AchievementSleep.png|frameless|100x100px]] |Goodnight Badge |Get some shut-eye |Reach the end of level 10 and choose to sleep. |- |[[File:AchievementNight.png|frameless|100x100px]] |Moon Badge |Ignore your bedtime |Reach the end of level 10 and choose to stay up. |- |[[File:AchievementStash.png|frameless|100x100px]] |Backpack Badge |Unlock 20 upgrades |See description. |- |[[File:AchievementRare.png|frameless|100x100px]] |Bunny Badge |Defy all odds |Receive the Hot Pink Bunny Charm from Momo's gacha capsule (1% roll rate). |- |[[File:AchievementTeapot.png|frameless|100x100px]] |Porcelain Badge |Bring home the teapot |Find and pick up the Teapot, then reach the end of level 10 without letting it take damage. |- |[[File:AchievementPumpkin.png|frameless|100x100px]] |Pumpkin Badge |Witness the pumpkin stack |Purchase 3 Pumpkins from Jack at once, then reach the end of that level. |} a90b0b9ead10995bcdf686cce546714dd33324dd Chiki Wiki 0 28 37 36 2022-07-11T17:57:34Z Greenyglass 81698 /* Important articles */ wikitext text/x-wiki <mainpage-leftcolumn-start /> <div style="text-align: center; font-size: x-large; padding: 1em;">'''Welcome to the {{SITENAME}}!'''</div> Game information for the video game Chiki's Chase We're a collaborative community website about {{topic}} that anyone, including you, can build and expand. Wikis like this one depend on readers getting involved and adding content. Click the "ADD NEW PAGE" or "EDIT" button at the top of any page to get started! ==Important articles== <gallery position="center" captionalign="center" navigation="true"> File:AchievementTeapot.png|[[Badges]] </gallery> <!-- The gallery above works well for individual articles, but it would also be good to have another below it that points to important Category: pages. --> <mainpage-endcolumn /> <mainpage-rightcolumn-start /> ''Need help building out this community?'' *[[Project:Wiki rules|Rules of this wiki]] *[[w:c:community:Help:Getting Started|Getting Started]] *[[w:c:community:Help:Contributing|How to Contribute]] *[[w:c:community:Help:Community Management|Managing your new community]] *[[w:c:community:Help:Contents|Guides]] *[[w:c:community:Help:Index|All Help articles]] You can also be part of the larger Fandom family of communities. Visit [[w:c:community|Fandom's Community Central]]! ''Community Founders'': Write a good and paragraph-length description for your welcome section about your topic. Let your readers know what your topic is about and add some general information about it. Then you should visit [[Special:AdminDashboard|the admin dashboard for more tips]]. <mainpage-endcolumn /> [[Category:{{SITENAME}}]] d83e86498d1426c03a221743eaf8124026057b56 38 37 2022-07-11T17:58:44Z Greenyglass 81698 wikitext text/x-wiki <mainpage-leftcolumn-start /> <div style="text-align: center; font-size: x-large; padding: 1em;">'''Welcome to the {{SITENAME}}!'''</div> Game information database for the video game Chiki's Chase. We're a collaborative community website about {{topic}} that anyone, including you, can build and expand. Wikis like this one depend on readers getting involved and adding content. Click the "ADD NEW PAGE" or "EDIT" button at the top of any page to get started! <mainpage-endcolumn /> <mainpage-rightcolumn-start /> ''Need help building out this community?'' *[[Project:Wiki rules|Rules of this wiki]] *[[w:c:community:Help:Getting Started|Getting Started]] *[[w:c:community:Help:Contributing|How to Contribute]] *[[w:c:community:Help:Community Management|Managing your new community]] *[[w:c:community:Help:Contents|Guides]] *[[w:c:community:Help:Index|All Help articles]] You can also be part of the larger Fandom family of communities. Visit [[w:c:community|Fandom's Community Central]]! ''Community Founders'': Write a good and paragraph-length description for your welcome section about your topic. Let your readers know what your topic is about and add some general information about it. Then you should visit [[Special:AdminDashboard|the admin dashboard for more tips]]. <mainpage-endcolumn /> [[Category:{{SITENAME}}]] f743b82b2fdf73e3671add3ad75822a67ff3c060 File:Items18.png 6 72 87 2022-07-15T16:56:09Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Items13.png 6 26 34 2022-07-15T16:56:10Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Items16.png 6 27 35 2022-07-15T16:56:10Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Items11.png 6 57 72 2022-07-15T16:56:10Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Items17.png 6 99 127 2022-07-15T16:56:10Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Items2.png 6 107 136 2022-07-15T16:56:10Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Items7.png 6 115 145 2022-07-15T16:56:10Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Items1.png 6 129 161 2022-07-15T16:56:10Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Items15.png 6 130 162 2022-07-15T16:56:10Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Items8.png 6 155 188 2022-07-15T16:56:10Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Items10.png 6 191 233 2022-07-15T16:56:10Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Items6.png 6 203 254 2022-07-15T16:56:10Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Items9.png 6 219 289 2022-07-15T16:56:10Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Items5.png 6 221 291 2022-07-15T16:56:10Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Items12.png 6 229 299 2022-07-15T16:56:10Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Items14.png 6 247 323 2022-07-15T16:56:10Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Items3.png 6 252 328 2022-07-15T16:56:10Z Greenyglass 81698 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Gacha Capsule 0 215 274 2022-07-15T17:05:22Z Greenyglass 81698 Created page with "The Gacha Capsule is a purchasable item from Momo's store. When purchased, a random prize is revealed inside and given to the player. === Rewards === {| class="sortable fandom-table" !Icon !Name !Description !Chance |- |[[File:Items16.png|frameless]] |Travel Stamp |Gain 100m distance |20% |- |[[File:Items9.png|frameless]] |Star Candy |Gain 1 star |20% |- |[[File:Items1.png|frameless]] |Apple |Gain 1 quarter health |15% |- |[[File:Items17.png|frameless]] |Ruby |Worth 10..." wikitext text/x-wiki The Gacha Capsule is a purchasable item from Momo's store. When purchased, a random prize is revealed inside and given to the player. === Rewards === {| class="sortable fandom-table" !Icon !Name !Description !Chance |- |[[File:Items16.png|frameless]] |Travel Stamp |Gain 100m distance |20% |- |[[File:Items9.png|frameless]] |Star Candy |Gain 1 star |20% |- |[[File:Items1.png|frameless]] |Apple |Gain 1 quarter health |15% |- |[[File:Items17.png|frameless]] |Ruby |Worth 10 coins |12% |- |[[File:Items14.png|frameless]] |Milk Chocobar |Gain 1 attack |10% |- |[[File:Items10.png|frameless]] |Star cider |Gain 5 stars |10% |- |[[File:Items18.png|frameless]] |Toonie |Worth 2 coins |6% |- |[[File:Items2.png|frameless]] |Cherry |Gain 2 quarter health |3% |- |[[File:Items13.png|frameless]] |Gold Nugget |Worth 100 coins |3% |- |[[File:Items15.png|frameless]] |Hot Pink Bunny charm |Rarity: Legendary |1% |} cc2bfe491dbf3cbe5fd16732f8dacab6025a3dae 275 274 2022-07-15T17:09:13Z Greenyglass 81698 wikitext text/x-wiki The Gacha Capsule is a purchasable item from Momo's store. When purchased, a random prize is revealed inside and given to the player. === Rewards === {| class="sortable fandom-table" !Icon !Name !Description !Chance !Details |- |[[File:Items16.png|frameless|80x80px]] |Travel Stamp |Gain 100m distance |20% |Distance added does not affect game difficulty or shop item price increases. |- |[[File:Items9.png|frameless|80x80px]] |Star Candy |Gain 1 star |20% | |- |[[File:Items1.png|frameless|80x80px]] |Apple |Gain 1 quarter health |15% | |- |[[File:Items17.png|frameless|80x80px]] |Ruby |Worth 10 coins |12% | |- |[[File:Items14.png|frameless|80x80px]] |Milk Chocobar |Gain 1 attack |10% | |- |[[File:Items10.png|frameless|80x80px]] |Star cider |Gain 5 stars |10% | |- |[[File:Items18.png|frameless|80x80px]] |Toonie |Worth 2 coins |6% | |- |[[File:Items2.png|frameless|80x80px]] |Cherry |Gain 2 quarter health |3% | |- |[[File:Items13.png|frameless|80x80px]] |Gold Nugget |Worth 100 coins |3% | |- |[[File:Items15.png|frameless|80x80px]] |Hot Pink Bunny charm |Rarity: Legendary |1% |Unlocks the Bunny Charm achievement. Only 1 can be obtained per run. If rolled again, a Cherry is obtained instead. |} e2ecbf12d6c558f53f2bb08d1e1cc9530a5e622f 276 275 2022-07-15T17:10:47Z Greenyglass 81698 wikitext text/x-wiki The Gacha Capsule is a purchasable item from Momo's store. When purchased, a random prize is revealed inside and given to the player. === Rewards === {| class="sortable fandom-table" !Icon !Name !Description !Chance !Details |- |[[File:Items16.png|frameless|80x80px]] |Travel Stamp |Gain 100m distance |20% |Distance added does not affect game difficulty or shop item price increases. However, it does count towards upgrade and character unlock requirements. |- |[[File:Items9.png|frameless|80x80px]] |Star Candy |Gain 1 star |20% | |- |[[File:Items1.png|frameless|80x80px]] |Apple |Gain 1 quarter health |15% | |- |[[File:Items17.png|frameless|80x80px]] |Ruby |Worth 10 coins |12% | |- |[[File:Items14.png|frameless|80x80px]] |Milk Chocobar |Gain 1 attack |10% | |- |[[File:Items10.png|frameless|80x80px]] |Star Cider |Gain 5 stars |10% | |- |[[File:Items18.png|frameless|80x80px]] |Toonie |Worth 2 coins |6% | |- |[[File:Items2.png|frameless|80x80px]] |Cherry |Gain 2 quarter health |3% | |- |[[File:Items13.png|frameless|80x80px]] |Gold Nugget |Worth 100 coins |3% | |- |[[File:Items15.png|frameless|80x80px]] |Hot Pink Bunny charm |Rarity: Legendary |1% |Unlocks the Bunny Charm achievement. Only 1 can be obtained per run. If rolled again, a Cherry is obtained instead. |} 1cb6f506e07ff546e1e74b48366ddf433351db28 277 276 2022-07-15T17:13:04Z Greenyglass 81698 wikitext text/x-wiki The Gacha Capsule is a purchasable item from Momo's store. When purchased, a random prize is revealed inside and given to the player. === Rewards === {| class="sortable fandom-table" !Icon !Name !Description !Chance !Details |- |[[File:Items16.png|frameless|80x80px]] |Travel Stamp |Gain 100m distance |20% |Distance added does not affect game difficulty or shop item price increases. However, it does count towards upgrade and character unlock requirements. |- |[[File:Items9.png|frameless|80x80px]] |Star Candy |Gain 1 star |20% | |- |[[File:Items1.png|frameless|80x80px]] |Apple |Gain 1 quarter health |15% | |- |[[File:Items17.png|frameless|80x80px]] |Ruby |Worth 10 coins |12% | |- |[[File:Items14.png|frameless|80x80px]] |Milk Chocobar |Gain 1 attack |10% | |- |[[File:Items10.png|frameless|80x80px]] |Star Cider |Gain 5 stars |10% | |- |[[File:Items18.png|frameless|80x80px]] |Toonie |Worth 2 coins |6% | |- |[[File:Items2.png|frameless|80x80px]] |Cherry |Gain 2 quarter health |3% | |- |[[File:Items13.png|frameless|80x80px]] |Gold Nugget |Worth 100 coins |3% | |- |[[File:Items15.png|frameless|80x80px]] |Hot Pink Bunny charm |Rarity: Legendary |1% |Unlocks the [[Badges|Bunny Badge]]. Only 1 can be obtained per run. If rolled again, a Cherry is obtained instead. |} e771303a72c97e806b4ff16b6a111af3f09fdce8 278 277 2022-07-15T17:13:52Z Greenyglass 81698 wikitext text/x-wiki The Gacha Capsule is a purchasable item from Momo's store. When purchased, a random prize is revealed inside and given to the player. === Rewards === {| class="sortable fandom-table" !Icon !Name !Description !Chance !Details |- |[[File:Items16.png|frameless|80x80px]] |Travel Stamp |Gain 100m distance |20% |Distance added does not affect game difficulty or shop item price increases. However, it does count towards upgrade and character unlock requirements. |- |[[File:Items9.png|frameless|80x80px]] |Star Candy |Gain 1 star |20% | |- |[[File:Items1.png|frameless|80x80px]] |Apple |Gain 1 quarter health |15% | |- |[[File:Items17.png|frameless|80x80px]] |Ruby |Worth 10 coins |12% | |- |[[File:Items14.png|frameless|80x80px]] |Milk Chocobar |Gain 1 attack |10% | |- |[[File:Items10.png|frameless|80x80px]] |Star Cider |Gain 5 stars |10% | |- |[[File:Items18.png|frameless|80x80px]] |Toonie |Worth 2 coins |6% | |- |[[File:Items2.png|frameless|80x80px]] |Cherry |Gain 2 quarter health |3% | |- |[[File:Items13.png|frameless|80x80px]] |Gold Nugget |Worth 100 coins |3% | |- |[[File:Items15.png|frameless|80x80px]] |Hot Pink Bunny Charm |Rarity: Legendary |1% |Unlocks the [[Badges|Bunny Badge]]. Only 1 can be obtained per run. If rolled again, a Cherry is obtained instead. |} aca476ae2d2fc7805071f9db8bcdfc8e24d321f2 279 278 2022-07-15T17:18:34Z Greenyglass 81698 wikitext text/x-wiki The Gacha Capsule is a purchasable item from Momo's store. When purchased, a random prize is revealed inside and given to the player. === Rewards === {| class="fandom-table" !Icon !Name !Description !Chance !Details |- |[[File:Items16.png|frameless|80x80px]] |Travel Stamp |Gain 100m distance |20% |Distance added does not affect game difficulty or shop item price increases. However, it does count towards upgrade and character unlock requirements. |- |[[File:Items9.png|frameless|80x80px]] |Star Candy |Gain 1 star |20% | |- |[[File:Items1.png|frameless|80x80px]] |Apple |Gain 1 quarter health |15% | |- |[[File:Items17.png|frameless|80x80px]] |Ruby |Worth 10 coins |12% | |- |[[File:Items14.png|frameless|80x80px]] |Milk Chocobar |Gain 1 attack |10% | |- |[[File:Items10.png|frameless|80x80px]] |Star Cider |Gain 5 stars |10% | |- |[[File:Items18.png|frameless|80x80px]] |Toonie |Worth 2 coins |6% | |- |[[File:Items2.png|frameless|80x80px]] |Cherry |Gain 2 quarter health |3% | |- |[[File:Items13.png|frameless|80x80px]] |Gold Nugget |Worth 100 coins |3% | |- |[[File:Items15.png|frameless|80x80px]] |Hot Pink Bunny Charm |Rarity: Legendary |1% |Unlocks the [[Badges|Bunny Badge]]. Only 1 can be obtained per run. If rolled again, a Cherry is obtained instead. |} 9acbecb866d96b2aa1e94afa105bf4781cc08709 280 279 2022-07-15T17:23:34Z Greenyglass 81698 wikitext text/x-wiki {{Item |title=Gacha Capsule |image=[[File:Items11.png|thumb]] |price=40 coins |price_increases=Yes }} The Gacha Capsule is a purchasable item from Momo's store. When purchased, a random prize is revealed inside and given to the player. ===Rewards=== {| class="fandom-table" !Icon !Name !Description !Chance !Details |- |[[File:Items16.png|frameless|80x80px]] |Travel Stamp | Gain 100m distance |20% |Distance added does not affect game difficulty or shop item price increases. However, it does count towards upgrade and character unlock requirements. |- |[[File:Items9.png|frameless|80x80px]] |Star Candy |Gain 1 star |20% | |- |[[File:Items1.png|frameless|80x80px]] |Apple |Gain 1 quarter health |15% | |- |[[File:Items17.png|frameless|80x80px]] |Ruby |Worth 10 coins |12% | |- |[[File:Items14.png|frameless|80x80px]] |Milk Chocobar |Gain 1 attack |10% | |- |[[File:Items10.png|frameless|80x80px]] |Star Cider |Gain 5 stars |10% | |- |[[File:Items18.png|frameless|80x80px]] |Toonie |Worth 2 coins |6% | |- |[[File:Items2.png|frameless|80x80px]] |Cherry |Gain 2 quarter health |3% | |- |[[File:Items13.png|frameless|80x80px]] |Gold Nugget |Worth 100 coins |3% | |- |[[File:Items15.png|frameless|80x80px]] |Hot Pink Bunny Charm | Rarity: Legendary |1% |Unlocks the [[Badges|Bunny Badge]]. Only 1 can be obtained per run. If rolled again, a Cherry is obtained instead. |} 00c9647a0213a1347db06b992e6f61004c5cff89 281 280 2022-07-18T16:55:09Z Greenyglass 81698 wikitext text/x-wiki {{Item |title=Gacha Capsule |image=[[File:Items11.png|thumb]] |price=40 coins |price_increases=Yes }} The Gacha Capsule is a purchasable item from Momo's store. When purchased, a random prize is revealed inside and given to the player. ===Rewards=== {| class="fandom-table" !Icon !Name !Description !Chance !Details |- |[[File:Items16.png|frameless|80x80px]] |Travel Stamp | Gain 100m distance |20% |Distance added does not affect game difficulty or shop item price increases. However, it does count towards upgrade and character unlock requirements. |- |[[File:Items9.png|frameless|80x80px]] |Star Candy |Gain 1 star |20% | |- |[[File:Items1.png|frameless|80x80px]] |Apple |Gain 1 quarter health |15% | |- |[[File:Items17.png|frameless|80x80px]] |Ruby |Worth 10 coins |12% | |- |[[File:Items14.png|frameless|80x80px]] |Milk Chocobar |Gain 1 attack |10% | |- |[[File:Items10.png|frameless|80x80px]] |Star Cider |Gain 5 stars |10% | |- |[[File:Items18.png|frameless|80x80px]] |Toonie |Worth 2 coins |6% | |- |[[File:Items2.png|frameless|80x80px]] |Cherry |Gain 2 quarter health |3%* |*Once the Hot Pink Bunny Charm is rolled, the roll rate becomes 4%. |- |[[File:Items13.png|frameless|80x80px]] |Gold Nugget |Worth 100 coins |3% | |- |[[File:Items15.png|frameless|80x80px]] |Hot Pink Bunny Charm | Rarity: Legendary |1%* |Unlocks the [[Badges|Bunny Badge]]. <nowiki>*</nowiki>Can only be obtained once, afterward the roll rate is 0%. |} aadbf39983ec07b8620d08dc5dc6c541d95e2e67 Template:Item 10 87 113 112 2022-07-18T16:56:56Z Greenyglass 81698 wikitext text/x-wiki <includeonly><infobox type="Item"> <title source="title"/> <image source="image"><caption source="imagecaption"/></image> <data source="price"><label>Price</label></data> <data source="price_increases"><label>Price Increases?</label></data> </infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Items]]}}</includeonly><noinclude>{{Documentation}}</noinclude> b92cefbf268d3eaafa4027d9ffc341b3cbaa896f 114 113 2022-07-18T16:57:48Z Greenyglass 81698 wikitext text/x-wiki <includeonly><infobox type="Item"> <title source="title"/> <image source="image"><caption source="imagecaption"/></image> <data source="sold_by"><label>Sold By</label></data> <data source="price"><label>Price</label></data> <data source="price_increases"><label>Price Increases?</label></data> </infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Items]]}}</includeonly><noinclude>{{Documentation}}</noinclude> c77915786bff0e7ec8f2f2b9903990cd52708ecc 115 114 2022-07-18T16:58:17Z Greenyglass 81698 wikitext text/x-wiki <includeonly><infobox type="Item"> <title source="title"/> <image source="image"><caption source="imagecaption"/></image> <data source="description"><label>Description</label></data> <data source="sold_by"><label>Sold By</label></data> <data source="price"><label>Price</label></data> <data source="price_increases"><label>Price Increases?</label></data> </infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Items]]}}</includeonly><noinclude>{{Documentation}}</noinclude> 1083893a030af2dd1be06188f78720929976dfe8 Gacha Capsule 0 215 282 281 2022-07-18T16:58:43Z Greenyglass 81698 wikitext text/x-wiki {{Item |title=Gacha Capsule |image=[[File:Items11.png|thumb]] |price=40 coins |price_increases=Yes |sold_by=Momo}} The Gacha Capsule is a purchasable item from Momo's store. When purchased, a random prize is revealed inside and given to the player. ===Rewards=== {| class="fandom-table" !Icon !Name !Description !Chance !Details |- |[[File:Items16.png|frameless|80x80px]] |Travel Stamp | Gain 100m distance |20% |Distance added does not affect game difficulty or shop item price increases. However, it does count towards upgrade and character unlock requirements. |- |[[File:Items9.png|frameless|80x80px]] |Star Candy |Gain 1 star |20% | |- |[[File:Items1.png|frameless|80x80px]] |Apple |Gain 1 quarter health |15% | |- |[[File:Items17.png|frameless|80x80px]] |Ruby |Worth 10 coins |12% | |- |[[File:Items14.png|frameless|80x80px]] |Milk Chocobar |Gain 1 attack |10% | |- |[[File:Items10.png|frameless|80x80px]] |Star Cider |Gain 5 stars |10% | |- |[[File:Items18.png|frameless|80x80px]] |Toonie |Worth 2 coins |6% | |- |[[File:Items2.png|frameless|80x80px]] |Cherry |Gain 2 quarter health |3%* |*Once the Hot Pink Bunny Charm is rolled, the roll rate becomes 4%. |- |[[File:Items13.png|frameless|80x80px]] |Gold Nugget |Worth 100 coins |3% | |- |[[File:Items15.png|frameless|80x80px]] |Hot Pink Bunny Charm | Rarity: Legendary |1%* |Unlocks the [[Badges|Bunny Badge]]. <nowiki>*</nowiki>Can only be obtained once, afterward the roll rate is 0%. |} 9cbcbb25636a9ace4bff9c8de9f09a834cdc7f5e 283 282 2022-07-18T16:58:55Z Greenyglass 81698 wikitext text/x-wiki {{Item |title=Gacha Capsule |image=[[File:Items11.png|thumb]] |price=40 coins |price_increases=Yes |sold_by=Momo|description=A mystery prize!}} The Gacha Capsule is a purchasable item from Momo's store. When purchased, a random prize is revealed inside and given to the player. ===Rewards=== {| class="fandom-table" !Icon !Name !Description !Chance !Details |- |[[File:Items16.png|frameless|80x80px]] |Travel Stamp | Gain 100m distance |20% |Distance added does not affect game difficulty or shop item price increases. However, it does count towards upgrade and character unlock requirements. |- |[[File:Items9.png|frameless|80x80px]] |Star Candy |Gain 1 star |20% | |- |[[File:Items1.png|frameless|80x80px]] |Apple |Gain 1 quarter health |15% | |- |[[File:Items17.png|frameless|80x80px]] |Ruby |Worth 10 coins |12% | |- |[[File:Items14.png|frameless|80x80px]] |Milk Chocobar |Gain 1 attack |10% | |- |[[File:Items10.png|frameless|80x80px]] |Star Cider |Gain 5 stars |10% | |- |[[File:Items18.png|frameless|80x80px]] |Toonie |Worth 2 coins |6% | |- |[[File:Items2.png|frameless|80x80px]] |Cherry |Gain 2 quarter health |3%* |*Once the Hot Pink Bunny Charm is rolled, the roll rate becomes 4%. |- |[[File:Items13.png|frameless|80x80px]] |Gold Nugget |Worth 100 coins |3% | |- |[[File:Items15.png|frameless|80x80px]] |Hot Pink Bunny Charm | Rarity: Legendary |1%* |Unlocks the [[Badges|Bunny Badge]]. <nowiki>*</nowiki>Can only be obtained once, afterward the roll rate is 0%. |} 8b35b0032c8357989fa0a75c5054df2694e1883f 284 283 2022-07-18T16:59:14Z Greenyglass 81698 wikitext text/x-wiki {{Item |title=Gacha Capsule |image=[[File:Items11.png|thumb]] |price=40 |price_increases=Yes |sold_by=Momo|description=A mystery prize!}} The Gacha Capsule is a purchasable item from Momo's store. When purchased, a random prize is revealed inside and given to the player. ===Rewards=== {| class="fandom-table" !Icon !Name !Description !Chance !Details |- |[[File:Items16.png|frameless|80x80px]] |Travel Stamp | Gain 100m distance |20% |Distance added does not affect game difficulty or shop item price increases. However, it does count towards upgrade and character unlock requirements. |- |[[File:Items9.png|frameless|80x80px]] |Star Candy |Gain 1 star |20% | |- |[[File:Items1.png|frameless|80x80px]] |Apple |Gain 1 quarter health |15% | |- |[[File:Items17.png|frameless|80x80px]] |Ruby |Worth 10 coins |12% | |- |[[File:Items14.png|frameless|80x80px]] |Milk Chocobar |Gain 1 attack |10% | |- |[[File:Items10.png|frameless|80x80px]] |Star Cider |Gain 5 stars |10% | |- |[[File:Items18.png|frameless|80x80px]] |Toonie |Worth 2 coins |6% | |- |[[File:Items2.png|frameless|80x80px]] |Cherry |Gain 2 quarter health |3%* |*Once the Hot Pink Bunny Charm is rolled, the roll rate becomes 4%. |- |[[File:Items13.png|frameless|80x80px]] |Gold Nugget |Worth 100 coins |3% | |- |[[File:Items15.png|frameless|80x80px]] |Hot Pink Bunny Charm | Rarity: Legendary |1%* |Unlocks the [[Badges|Bunny Badge]]. <nowiki>*</nowiki>Can only be obtained once, afterward the roll rate is 0%. |} 27e85991be08fa9ad77581587acff43e28ef81f4 285 284 2022-08-21T08:54:23Z 122.62.134.246 0 redlink to momo's page wikitext text/x-wiki {{Item |title=Gacha Capsule |image=[[File:Items11.png|thumb]] |price=40 |price_increases=Yes |sold_by=Momo|description=A mystery prize!}} The Gacha Capsule is a purchasable item from [[Momo]]'s store. When purchased, a random prize is revealed inside and given to the player. ===Rewards=== {| class="fandom-table" !Icon !Name !Description !Chance !Details |- |[[File:Items16.png|frameless|80x80px]] |Travel Stamp | Gain 100m distance |20% |Distance added does not affect game difficulty or shop item price increases. However, it does count towards upgrade and character unlock requirements. |- |[[File:Items9.png|frameless|80x80px]] |Star Candy |Gain 1 star |20% | |- |[[File:Items1.png|frameless|80x80px]] |Apple |Gain 1 quarter health |15% | |- |[[File:Items17.png|frameless|80x80px]] |Ruby |Worth 10 coins |12% | |- |[[File:Items14.png|frameless|80x80px]] |Milk Chocobar |Gain 1 attack |10% | |- |[[File:Items10.png|frameless|80x80px]] |Star Cider |Gain 5 stars |10% | |- |[[File:Items18.png|frameless|80x80px]] |Toonie |Worth 2 coins |6% | |- |[[File:Items2.png|frameless|80x80px]] |Cherry |Gain 2 quarter health |3%* |*Once the Hot Pink Bunny Charm is rolled, the roll rate becomes 4%. |- |[[File:Items13.png|frameless|80x80px]] |Gold Nugget |Worth 100 coins |3% | |- |[[File:Items15.png|frameless|80x80px]] |Hot Pink Bunny Charm | Rarity: Legendary |1%* |Unlocks the [[Badges|Bunny Badge]]. <nowiki>*</nowiki>Can only be obtained once, afterward the roll rate is 0%. |} 0fc91d3e979a6ab52bfdeac2c61615612483ef06 Star Power 0 151 183 2022-07-21T16:14:20Z Retroded4 81697 Created page with "The '''Star Power''' is an effect or state within the game, which is activated when the player collects 10 [[Stars]], or 8 if the player has the [[Sparkling Sapphire]]. ==Effects== *Immunity to [[:category:Enemies|Enemies]], [[Spikes]], and [[Lasers]]. *Prevents taking damage by falling into the void '''once''', though this causes the power to stop. *Player [[Speed]] is increased by 90. *When initially entered, the jump count replenises. *[[Star Crystals]] drop 3 stars i..." wikitext text/x-wiki The '''Star Power''' is an effect or state within the game, which is activated when the player collects 10 [[Stars]], or 8 if the player has the [[Sparkling Sapphire]]. ==Effects== *Immunity to [[:category:Enemies|Enemies]], [[Spikes]], and [[Lasers]]. *Prevents taking damage by falling into the void '''once''', though this causes the power to stop. *Player [[Speed]] is increased by 90. *When initially entered, the jump count replenises. *[[Star Crystals]] drop 3 stars instead of 5. *The player is illuminated a bright blue color. *The background is also illuminated, though its intensity decreases as the effect time decreases. ==Duration== The star power under no influence has a duration of 12 seconds, though some interactions can cause the effect to be prolonged or shortened. *Prolonged by 0.83 seconds if a star is collected. *Prolonged by 0.0625 seconds if a coin is collected, only if the player has the [[Star Dust]] upgrade. *Replenished fully by reaching a [[Shops|Shop]] or [[Home]]. *After 40 seconds with the effect, the duration diminishes at 1.5x the rate. *After 70 seconds with the effect, the duration diminishes at double the rate. 48d5b85ec41b5b59d96c67e8dbe0336b3b98d453 184 183 2022-07-21T16:21:02Z Greenyglass 81698 /* Effects */ wikitext text/x-wiki The '''Star Power''' is an effect or state within the game, which is activated when the player collects 10 [[Stars]], or 8 if the player has the [[Sparkling Sapphire]]. ==Effects== *Immunity to [[:category:Enemies|Enemies]], [[Spikes]], and [[Lasers]]. *Prevents taking damage by falling into the void '''once''', though this causes the power to stop. *Player [[Speed]] is increased by 90. *When initially entered, the jump count replenishes. *The player is illuminated a bright blue color. ==Duration== The star power has a default duration of 12 seconds, though some interactions can cause the effect to be prolonged or shortened. *Prolonged by 1 second if a star is collected. *Prolonged by 0.1 second if a coin is collected, only if the player has the [[Star Dust]] upgrade. *Replenished fully by reaching a [[Shops|Shop]] or [[Home]]. *The drain rate begins increasing after 12 seconds. This maxes at 40 seconds, when the drain rate is doubled. ab363562fef74febf078aaf7b9cf05eb761f8e55 Template:ShopkeeperNav 10 56 71 2022-07-30T13:28:25Z Retroded4 81697 Created page with "<hr> {| style=" margin:auto; text-align:center;" cellpadding="3" cellspacing="3; float:left; width: 100%;" | colspan="7" style="text-align:center" |'''[[:category:Shopkeepers|Shopkeepers]]''' |- |[[File:Jack (icon mid).png|link=Jack|x72px]] | |[[File:Fiona (icon mid).png|link=Fiona|x72px]] | |[[File:Momo (icon mid).png|link=Momo|x72px]] | |[[File:Gilda (icon mid).png|link=Gilda|x72px]] |- |[[Jack]] | |[[Fiona]] | |[[Momo]] | |[[Gilda]] |} <hr>" wikitext text/x-wiki <hr> {| style=" margin:auto; text-align:center;" cellpadding="3" cellspacing="3; float:left; width: 100%;" | colspan="7" style="text-align:center" |'''[[:category:Shopkeepers|Shopkeepers]]''' |- |[[File:Jack (icon mid).png|link=Jack|x72px]] | |[[File:Fiona (icon mid).png|link=Fiona|x72px]] | |[[File:Momo (icon mid).png|link=Momo|x72px]] | |[[File:Gilda (icon mid).png|link=Gilda|x72px]] |- |[[Jack]] | |[[Fiona]] | |[[Momo]] | |[[Gilda]] |} <hr> 0a10e5e03bb9f3b9defcd9731058df096a6d41b3 File:Jack (icon mid).png 6 174 212 2022-07-30T13:28:36Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Fiona (icon mid).png 6 86 111 2022-07-30T13:28:45Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Momo (icon mid).png 6 144 176 2022-07-30T13:28:54Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Gilda (icon mid).png 6 198 240 2022-07-30T13:29:04Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Jack Default.png 6 248 324 2022-07-30T13:29:37Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Coins.png 6 6 12 2022-07-30T13:30:48Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Jack 0 79 99 2022-07-30T13:32:36Z Retroded4 81697 Created page with "{{ShopkeeperNav}} {{Shopkeeper |image1=Jack Default.png }} '''Jack''' is one of the four [[:category:Shopkeepers|Shopkeepers]], located in [[Shops]]. Like the other shopkeepers, if the player has an available [[:category:Upgrades|Upgrade]] slot, he will offer the player an uprgade. ==Shop listing== ===Upgrades=== He will offer a selection of 3 upgrades, or 4 if the player has the [[Reusable Bag]] uprgade. He will never offer upgrades the player already has. ===Item shop=..." wikitext text/x-wiki {{ShopkeeperNav}} {{Shopkeeper |image1=Jack Default.png }} '''Jack''' is one of the four [[:category:Shopkeepers|Shopkeepers]], located in [[Shops]]. Like the other shopkeepers, if the player has an available [[:category:Upgrades|Upgrade]] slot, he will offer the player an uprgade. ==Shop listing== ===Upgrades=== He will offer a selection of 3 upgrades, or 4 if the player has the [[Reusable Bag]] uprgade. He will never offer upgrades the player already has. ===Item shop=== Once the player has chosen a desired upgrade, or if the player has no upgrade slots remaining, he will offer some [[:category:Items|Items]]. {| class="fandom-table" ! style="text-align:center" |'''Item''' | style="text-align:center" |[[File:Items1.png|48x48px|link=Apple]]<br><small>[[Apple]]</small> | style="text-align:center" |[[File:Items10.png|48x48px|link=Star Cider]]<br><small>[[Star Cider]]</small> | style="text-align:center" |[[File:Pumpkin.png|48x48px|link=Pumpkin]]<br><small>[[Pumpkin]]</small> | style="text-align:center" |[[File:Shield Repair.png|48x48px|link=Shield Repair]]<br><small>[[Shield Repair]]</small> |- ! style="text-align:center" |'''Availability''' | colspan="2" style="text-align:center" |<small>Always</small> | style="text-align:center" |<small><abbr title="Sold as long as the player has under 3 health points and has enough coins to purchase 4 apples.">Conditional</abbr></small> | style="text-align:center" |<small><abbr title="If the player has the Wooden Shield equipped, but the shield has been used up.">Conditional</abbr></small> |- !'''Base price''' | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 40 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] <abbr title="Price does not scale.">30</abbr> | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 300 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 100 |} ==Quotes== {| |- |'''When encountered''' *''"Hey, come on in!"'' *''"Hey there!"'' *''"Welcome back!"'' <small>(when encountered after meeting before)</small> *''"Hang in there...!"'' <small>(when encountered on one health)</small> |- |'''On the upgrades screen''' *''"There's always too much stuff lying around... ya need one?"'' *''"Take one of these with ya!"'' |- |'''On the item shop screen''' * ''"Lots for sale, so take look!"'' *''"Fresh foods, come take a look!"'' *''"Lemme help you handle those varmints!"'' *''" 'ppreciate it!"'' <small>(when an [[Apple]] is bought)</small> *''"Why, thank you!"'' <small>(when an [[Apple]] is bought)</small> *''"Refreshing, huh?"'' <small>(when a [[Star Cider]] is bought)</small> *''"Family recipe! Hope you like it."'' <small>(when a [[Star Cider]] is bought)</small> *''"Woah, you're glowing!!"'' <small>(when a [[Star Cider]] is bought and it initializes the [[Star Power]] effect)</small> *''"Just in time for the harvest."'' <small>(when a [[Pumpkin]] is bought)</small> *''"I'll have this planted up ahead."'' <small>(when a [[Pumpkin]] is bought)</small> *''"There, good as new!"'' <small>(when a [[Shield Repair]] is bought)</small> |- |'''When leaving''' *''"Keep yourself safe!"'' *''"See you around!"'' *''"Maybe next time!"'' <small>(if nothing is bought)</small> *''"C-careful out there!"'' <small>(when the player is under the effect of [[Star Power]])</small> *''"Show 'em who's boss!"'' <small>(when the player is under the effect of [[Star Power]])</small> |} == Trivia == * Pre-release, Jack was named "Chip", though this was changed in version 220317. Jack's expression files are still found using this name. * Before update 1.3, Jack would only show up if the player could afford at least four [[Apple|Apples]], generally as a consequence of the player deliberately saving up. This was removed because of players generally having lots of coins late game, and Jack would only show up most of the time. * Jack is always the first shopkeeper to appear in the [[Tutorial Level]]. [[Category:Shopkeepers]] efdd55dbd4aa6b1665a87b3321806f024ef3a7e9 100 99 2022-07-31T16:53:28Z Retroded4 81697 wikitext text/x-wiki {{ShopkeeperNav}} {{Shopkeeper |image1=Jack Default.png }} '''Jack''' is one of the four [[:category:Shopkeepers|Shopkeepers]], located in [[Shops]]. Like the other shopkeepers, if the player has an available [[:category:Upgrades|Upgrade]] slot, he will offer the player an uprgade. ==Shop listing== ===Upgrades=== He will offer a selection of 3 upgrades, or 4 if the player has the [[Reusable Bag]] uprgade. He will never offer upgrades the player already has. ===Item shop=== Once the player has chosen a desired upgrade, or if the player has no upgrade slots remaining, he will offer some [[:category:Items|Items]]. {| class="fandom-table" ! style="text-align:center" |'''Item''' | style="text-align:center" |[[File:Items1.png|48x48px|link=Apple]]<br><small>[[Apple]]</small> | style="text-align:center" |[[File:Items10.png|48x48px|link=Star Cider]]<br><small>[[Star Cider]]</small> | style="text-align:center" |[[File:Pumpkin.png|48x48px|link=Pumpkin]]<br><small>[[Pumpkin]]</small> | style="text-align:center" |[[File:Shield Repair.png|48x48px|link=Shield Repair]]<br><small>[[Shield Repair]]</small> |- ! style="text-align:center" |'''Availability''' | colspan="2" style="text-align:center" |<small>Always</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>Sold as long as the player has under 3 health points and has enough coins to purchase 4 apples</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the player has the Wooden Shield equipped, but the shield has been used up</small> |- !'''Base price''' | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 40 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] <abbr title="Price does not scale.">30</abbr> | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 300 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 100 |} ==Quotes== {| |- |'''When encountered''' *''"Hey, come on in!"'' *''"Hey there!"'' *''"Welcome back!"'' <small>(when encountered after meeting before)</small> *''"Hang in there...!"'' <small>(when encountered on one health)</small> |- |'''On the upgrades screen''' *''"There's always too much stuff lying around... ya need one?"'' *''"Take one of these with ya!"'' |- |'''On the item shop screen''' * ''"Lots for sale, so take look!"'' *''"Fresh foods, come take a look!"'' *''"Lemme help you handle those varmints!"'' *''" 'ppreciate it!"'' <small>(when an [[Apple]] is bought)</small> *''"Why, thank you!"'' <small>(when an [[Apple]] is bought)</small> *''"Refreshing, huh?"'' <small>(when a [[Star Cider]] is bought)</small> *''"Family recipe! Hope you like it."'' <small>(when a [[Star Cider]] is bought)</small> *''"Woah, you're glowing!!"'' <small>(when a [[Star Cider]] is bought and it initializes the [[Star Power]] effect)</small> *''"Just in time for the harvest."'' <small>(when a [[Pumpkin]] is bought)</small> *''"I'll have this planted up ahead."'' <small>(when a [[Pumpkin]] is bought)</small> *''"There, good as new!"'' <small>(when a [[Shield Repair]] is bought)</small> |- |'''When leaving''' *''"Keep yourself safe!"'' *''"See you around!"'' *''"Maybe next time!"'' <small>(if nothing is bought)</small> *''"C-careful out there!"'' <small>(when the player is under the effect of [[Star Power]])</small> *''"Show 'em who's boss!"'' <small>(when the player is under the effect of [[Star Power]])</small> |} == Trivia == * Pre-release, Jack was named "Chip", though this was changed in version 220317. Jack's expression files are still found using this name. * Before update 1.3, Jack would only show up if the player could afford at least four [[Apple|Apples]], generally as a consequence of the player deliberately saving up. This was removed because of players generally having lots of coins late game, and Jack would only show up most of the time. * Jack is always the first shopkeeper to appear in the [[Tutorial Level]]. [[Category:Shopkeepers]] 474937a50af131441bbfd9e8fc94d067dc7d273b 101 100 2022-07-31T16:58:49Z Retroded4 81697 wikitext text/x-wiki {{ShopkeeperNav}} {{Shopkeeper |image1=Jack Default.png }} '''Jack''' is one of the four [[:category:Shopkeepers|Shopkeepers]], located in [[Shops]]. Like the other shopkeepers, if the player has an available [[:category:Upgrades|Upgrade]] slot, he will offer the player an uprgade. ==Shop listing== ===Upgrades=== He will offer a selection of 3 upgrades, or 4 if the player has the [[Reusable Bag]] uprgade. He will never offer upgrades the player already has. ===Item shop=== Once the player has chosen a desired upgrade, or if the player has no upgrade slots remaining, he will offer some [[:category:Items|Items]]. {| class="fandom-table" ! style="text-align:center" |'''Item''' | style="text-align:center" |[[File:Items1.png|48x48px|link=Apple]]<br><small>[[Apple]]</small> | style="text-align:center" |[[File:Items10.png|48x48px|link=Star Cider]]<br><small>[[Star Cider]]</small> | style="text-align:center" |[[File:Pumpkin.png|48x48px|link=Pumpkin]]<br><small>[[Pumpkin]]</small> | style="text-align:center" |[[File:Shield Repair.png|48x48px|link=Shield Repair]]<br><small>[[Shield Repair]]</small> |- ! style="text-align:center" |'''Availability''' | colspan="2" style="text-align:center" |<small>Always</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>Sold as long as the player has under 3 health points and has enough coins to purchase 4 apples</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the player has the Wooden Shield equipped, but the shield has been used up</small> |- !'''Base price''' | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 40 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] <abbr title="Price does not scale.">30</abbr> | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 300 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 100 |} ==Quotes== {| |'''After the tutorial''' * ''"Hey there, welcome to the store! My name's Jack."'' * ''"Thanks for chasing out all the monsters 'round here!"'' * ''"Let me help out any way I can."'' |- |'''When encountered''' *''"Hey, come on in!"'' *''"Hey there!"'' *''"Welcome back!"'' <small>(when encountered after meeting before)</small> *''"Hang in there...!"'' <small>(when encountered on one health)</small> |- |'''On the upgrades screen''' *''"There's always too much stuff lying around... ya need one?"'' *''"Take one of these with ya!"'' |- |'''On the item shop screen''' * ''"Lots for sale, so take look!"'' *''"Fresh foods, come take a look!"'' *''"Lemme help you handle those varmints!"'' *''" 'ppreciate it!"'' <small>(when an [[Apple]] is bought)</small> *''"Why, thank you!"'' <small>(when an [[Apple]] is bought)</small> *''"Refreshing, huh?"'' <small>(when a [[Star Cider]] is bought)</small> *''"Nothin' else like it."'' <small>(when a [[Star Cider]] is bought)</small> *''"Family recipe! Hope you like it."'' <small>(when a [[Star Cider]] is bought)</small> *''"Woah, you're glowing!!"'' <small>(when a [[Star Cider]] is bought and it initializes the [[Star Power]] effect)</small> *''"Look at you glow!!"'' <small>(when a [[Star Cider]] is bought and it initializes the [[Star Power]] effect)</small> *''"Just in time for the harvest."'' <small>(when a [[Pumpkin]] is bought)</small> *''"I'll have this planted up ahead."'' <small>(when a [[Pumpkin]] is bought)</small> *''"There, good as new!"'' <small>(when a [[Shield Repair]] is bought)</small> |- |'''When leaving''' *''"Keep yourself safe!"'' *''"See you around!"'' *''"Maybe next time!"'' <small>(if nothing is bought)</small> *''"C-careful out there!"'' <small>(when the player is under the effect of [[Star Power]])</small> *''"Show 'em who's boss!"'' <small>(when the player is under the effect of [[Star Power]])</small> |} == Trivia == * Pre-release, Jack was named "Chip", though this was changed in version 220317. Jack's expression files are still found using this name. * Before update 1.3, Jack would only show up if the player could afford at least four [[Apple|Apples]], generally as a consequence of the player deliberately saving up. This was removed because of players generally having lots of coins late game, and Jack would only show up most of the time. * Jack is always the first shopkeeper to appear in the [[Tutorial Level]]. [[Category:Shopkeepers]] 8875bfb758e41fd01bca9931d1533ca82e6e9071 102 101 2022-07-31T16:59:50Z Retroded4 81697 wikitext text/x-wiki {{ShopkeeperNav}} {{Shopkeeper |image1=Jack Default.png }} '''Jack''' is one of the four [[:category:Shopkeepers|Shopkeepers]], located in [[Shops]]. Like the other shopkeepers, if the player has an available [[:category:Upgrades|Upgrade]] slot, he will offer the player an uprgade. ==Shop listing== ===Upgrades=== He will offer a selection of 3 upgrades, or 4 if the player has the [[Reusable Bag]] uprgade. He will never offer upgrades the player already has. ===Item shop=== Once the player has chosen a desired upgrade, or if the player has no upgrade slots remaining, he will offer some [[:category:Items|Items]]. {| class="fandom-table" ! style="text-align:center" |'''Item''' | style="text-align:center" |[[File:Items1.png|48x48px|link=Apple]]<br><small>[[Apple]]</small> | style="text-align:center" |[[File:Items10.png|48x48px|link=Star Cider]]<br><small>[[Star Cider]]</small> | style="text-align:center" |[[File:Pumpkin.png|48x48px|link=Pumpkin]]<br><small>[[Pumpkin]]</small> | style="text-align:center" |[[File:Shield Repair.png|48x48px|link=Shield Repair]]<br><small>[[Shield Repair]]</small> |- ! style="text-align:center" |'''Availability''' | style="text-align:center" |<small>Always</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the pumpkin is not being sold.</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>Sold as long as the player has under 3 health points and has enough coins to purchase 4 apples.</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the player has the Wooden Shield equipped, but the shield has been used up.</small> |- !'''Base price''' | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 40 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] <abbr title="Price does not scale.">30</abbr> | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 300 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 100 |} ==Quotes== {| |'''After the tutorial''' * ''"Hey there, welcome to the store! My name's Jack."'' * ''"Thanks for chasing out all the monsters 'round here!"'' * ''"Let me help out any way I can."'' |- |'''When encountered''' *''"Hey, come on in!"'' *''"Hey there!"'' *''"Welcome back!"'' <small>(when encountered after meeting before)</small> *''"Hang in there...!"'' <small>(when encountered on one health)</small> |- |'''On the upgrades screen''' *''"There's always too much stuff lying around... ya need one?"'' *''"Take one of these with ya!"'' |- |'''On the item shop screen''' * ''"Lots for sale, so take look!"'' *''"Fresh foods, come take a look!"'' *''"Lemme help you handle those varmints!"'' *''" 'ppreciate it!"'' <small>(when an [[Apple]] is bought)</small> *''"Why, thank you!"'' <small>(when an [[Apple]] is bought)</small> *''"Refreshing, huh?"'' <small>(when a [[Star Cider]] is bought)</small> *''"Nothin' else like it."'' <small>(when a [[Star Cider]] is bought)</small> *''"Family recipe! Hope you like it."'' <small>(when a [[Star Cider]] is bought)</small> *''"Woah, you're glowing!!"'' <small>(when a [[Star Cider]] is bought and it initializes the [[Star Power]] effect)</small> *''"Look at you glow!!"'' <small>(when a [[Star Cider]] is bought and it initializes the [[Star Power]] effect)</small> *''"Just in time for the harvest."'' <small>(when a [[Pumpkin]] is bought)</small> *''"I'll have this planted up ahead."'' <small>(when a [[Pumpkin]] is bought)</small> *''"There, good as new!"'' <small>(when a [[Shield Repair]] is bought)</small> |- |'''When leaving''' *''"Keep yourself safe!"'' *''"See you around!"'' *''"Maybe next time!"'' <small>(if nothing is bought)</small> *''"C-careful out there!"'' <small>(when the player is under the effect of [[Star Power]])</small> *''"Show 'em who's boss!"'' <small>(when the player is under the effect of [[Star Power]])</small> |} == Trivia == * Pre-release, Jack was named "Chip", though this was changed in version 220317. Jack's expression files are still found using this name. * Before update 1.3, Jack would only show up if the player could afford at least four [[Apple|Apples]], generally as a consequence of the player deliberately saving up. This was removed because of players generally having lots of coins late game, and Jack would only show up most of the time. * Jack is always the first shopkeeper to appear in the [[Tutorial Level]]. [[Category:Shopkeepers]] fd95e57d8b9885c2bdd7ffdf253f8a2ed06ebb3b File:Pumpkin.png 6 120 152 2022-07-30T13:34:09Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Shield Repair.png 6 199 241 2022-07-30T13:35:13Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Spoiler warning.png 6 234 309 2022-07-31T17:11:52Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Template:Spoiler 10 29 39 2022-07-31T17:12:30Z Retroded4 81697 Created page with "{{MessageBox |header = Spoilers up ahead! |type = spoiler |text = ''This section contains spoilers, please be aware! |comment = |class = notice hidden plainlinks |id = spoiler |image = Spoiler warning.png |imagewidth = 52px }}" wikitext text/x-wiki {{MessageBox |header = Spoilers up ahead! |type = spoiler |text = ''This section contains spoilers, please be aware! |comment = |class = notice hidden plainlinks |id = spoiler |image = Spoiler warning.png |imagewidth = 52px }} ae41d0f37359296bbce5724795fe8b9586977f9d File:HardmodeBadge.png 6 206 262 2022-07-31T17:38:12Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Reaching home.png 6 166 204 2022-07-31T17:40:22Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Home 0 230 300 2022-07-31T17:41:12Z Retroded4 81697 Created page with "{{spoiler}} [[File:Reaching home.png|alt=Ronnie reaching home.|thumb|Reaching '''home'''.|238x238px]] '''Home''' is a location, reached at the end of Level 10, or approximately at a distance of 4650 meters. The location marks the end of what is known as a '''Home Run'''. ==Function== Home functions similarly to a shop, acting as a pause between levels. Upon reaching home, the player will be rewarded with both a time and [[Badges]], the former of which, if faster than pre..." wikitext text/x-wiki {{spoiler}} [[File:Reaching home.png|alt=Ronnie reaching home.|thumb|Reaching '''home'''.|238x238px]] '''Home''' is a location, reached at the end of Level 10, or approximately at a distance of 4650 meters. The location marks the end of what is known as a '''Home Run'''. ==Function== Home functions similarly to a shop, acting as a pause between levels. Upon reaching home, the player will be rewarded with both a time and [[Badges]], the former of which, if faster than previous times, will be uploaded to the leaderboards. Home will also fully replenish the [[Star Power]] timer, similar to [[Shops]]. ===Stay up=== The player can choose to stay up, where the player will enter a bonus level, containing 72 coins (excluding [[Rubies]]), one [[Treasure Chest]] and one [[Star Crystal]]. At the end of this level is a shop, before Level 11 starts. ===Sleep=== The player can alternatively choose to sleep, which will increase the player's health and attack count by 1. This will reset the day and night cycle. The player is prompted immediately into Level 11. ==Related badges== <div style="text-indent:30px; margin-bottom: 10px;">''See related: [[Badges]]''</div> *The [[File:AchievementSleep.png|24px|link=Badges]] [[Badges|Goodnight Badge]] is awarded if the sleep option is chosen. *The [[File:AchievementNight.png|24px|link=Badges]] [[Badges|Moon Badge]] is awarded if the stay up option is chosen. *The [[File:AchievementTeapot.png|24px|link=Badges]] [[Badges|Porcelain Badge]] is awarded if the player reaches home with the [[Teapot]]. *The [[File:AchievementGhost.png|24px|link=Badges]] [[Badges|Ghost Badge]] is awarded if the player reaches home without entering any [[Shops]]. *The unlisted [[File:HardmodeBadge.png|24px|link=Badges]] [[Badges|Hardmode Badge]] is awarded if the player reaches home in [[Hardmode]]. d970fd6f47dad32ed9cdf07fd7e8064f9c0672a2 File:Fiona Default.png 6 66 81 2022-08-08T15:53:15Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:ShopItems 8.png 6 76 91 2022-08-08T15:55:45Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:ShopItems 9.png 6 190 232 2022-08-08T15:56:27Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Fiona 0 2 3 2022-08-08T15:58:04Z Retroded4 81697 Created page with "{{ShopkeeperNav}} {{Shopkeeper |image1=Fiona Default.png }} '''Fiona''' is one of the four [[:Category:Shopkeepers|Shopkeepers]], located in [[Shops]]. Like the other shopkeepers, if the player has an available [[:Category:Upgrades|Upgrade]] slot, she will offer the player an uprgade. ==Shop listing== ===Upgrades=== She will offer a selection of 3 upgrades, or 4 if the player has the [[Reusable Bag]] uprgade. She will never offer upgrades the player already has. ===Item..." wikitext text/x-wiki {{ShopkeeperNav}} {{Shopkeeper |image1=Fiona Default.png }} '''Fiona''' is one of the four [[:Category:Shopkeepers|Shopkeepers]], located in [[Shops]]. Like the other shopkeepers, if the player has an available [[:Category:Upgrades|Upgrade]] slot, she will offer the player an uprgade. ==Shop listing== ===Upgrades=== She will offer a selection of 3 upgrades, or 4 if the player has the [[Reusable Bag]] uprgade. She will never offer upgrades the player already has. ===Item shop=== Once the player has chosen a desired upgrade, or if the player has no upgrade slots remaining, she will offer some [[:category:Items|Items]]. {| class="fandom-table" ! style="text-align:center" |'''Item''' | style="text-align:center" |[[File:Items1.png|48x48px|link=Apple]]<br><small>[[Apple]]</small> | style="text-align:center" |[[File:ShopItems 8.png|48x48px|link=Dark Roast]]<br><small>[[Dark Roast]]</small> | style="text-align:center" |[[File:ShopItems 9.png|48x48px|link=Caramel Latte]]<br><small>[[Caramel Latte]]</small> | style="text-align:center" |[[File:Shield Repair.png|48x48px|link=Shield Repair]]<br><small>[[Shield Repair]]</small> |- ! style="text-align:center" |'''Availability''' | style="text-align:center" |<small>Always</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the level number is odd.</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the level number is even.</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the player has the Wooden Shield equipped, but the shield has been used up.</small> |- !'''Base price''' | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 40 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 30 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 60 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 100 |} ==Quotes== {| |'''When encountered''' *''"*yawn* hey, welcome"'' *''"Hey. What's up?"'' *''"Oh, it's you."'' <small>(when encountered after meeting before)</small> *''"Back again, huh?"'' <small>(when encountered after meeting before)</small> *''"Why'd I get the night shift..."'' <small>(when encountered at [[Night]])</small> *''"Woah. You look like crap."'' <small>(when encountered on one health)</small> |- |'''On the upgrades screen''' *''"Need any of this junk?"'' |- |'''On the item shop screen''' *''"What can I get you?"'' *''"So, did you wanna pay for something...?"'' *''"Trying to clear out, need anything?"'' *''"Sure."'' <small>(when an [[Apple]] is bought)</small> *''"House blend. Enjoy"'' <small>(when a [[Dark Roast]] is bought)</small> *''"Drink up while it's hot."'' <small>(when a [[Dark Roast]] is bought)</small> *''"At this rate, you'll be up for a week."'' <small>(when eight [[Dark Roast|Dark Roasts]] are bought, attaining the [[Coffee Badge]])</small> *''"You're gonna love this."'' <small>(when a [[Caramel Latte]] is bought)</small> *''"Hope it's not too sweet."'' <small>(when a [[Caramel Latte]] is bought)</small> *''"Don't break it again, ok?"'' <small>(when a [[Shield Repair]] is bought)</small> *''"How did you break this so easily, anyway?"'' <small>(when a [[Shield Repair]] is bought)</small> *''"Almost as good as I make it."'' <small>(when served the [[Teapot]])</small> *''"If you're trying to impress me... not bad!"'' <small>(when served the [[Teapot]])</small> *''"That's a good cup of tea."'' <small>(when served the [[Teapot]])</small> |- |'''When leaving''' *''"Thanks! See ya 'round."'' *''"Stop by whenever."'' *''"Really? Nothing?"'' <small>(if nothing is bought)</small> *''"You know we sell drinks, right?"'' <small>(if only [[Apple|Apples]] or [[Shield Repair|Shield Repairs]] are bought)</small> *''"Just so you know, this is a coffee shop."'' <small>(if only [[Apple|Apples]] or [[Shield Repair|Shield Repairs]] are bought)</small> |} ==Trivia== *Fiona is a wolf. *Before update 1.3, Fiona would only show up if the player ended the level with the [[Star Power]] effect active, if conditions for [[Momo]] and [[Gilda]] to show up were not met. This has now been scrapped. [[Category:Shopkeepers]] 367191809dd2f603dfc64165850e30301fa2a6f2 File:Aurum Badge.png 6 36 46 2022-09-03T01:19:33Z TheRealRaindrop 81699 wikitext text/x-wiki Screen grab of Aurum Bage from Achievements screen in Chiki's Chase c7b0fdb6f428e4b19fa6ebe4e6d708794d82fd20 File:Potassium Badge.png 6 77 92 2022-09-03T01:22:08Z TheRealRaindrop 81699 wikitext text/x-wiki Screen grab of Potassium Badge from Achievements screen in Chiki's Chase b09ecb1b7747573384ef0d158c45945f17e7dcac File:Hatted Badge.png 6 161 198 2022-09-03T01:23:30Z TheRealRaindrop 81699 wikitext text/x-wiki Screen grab of Hatted Badge from Achievements screen in Chiki's Chase b312ddc2f11643073feb1b2bbdfaa493f637ec43 File:Ghost Badge.png 6 46 60 2022-09-03T01:24:13Z TheRealRaindrop 81699 wikitext text/x-wiki Screen grab of Ghost Badge from Achievements screen in Chiki's Chase 7948ac9d48cfcfd71792f2213f47ae7cc317859f File:Swatter Badge.png 6 81 106 2022-09-03T01:24:52Z TheRealRaindrop 81699 wikitext text/x-wiki Screen grab of Swatter Badge from Achievements screen in Chiki's Chase 2eb1d121a71ccb18dfdf79d92b1c998fcd7d41a2 File:Coffee Badge.png 6 125 157 2022-09-03T01:26:11Z TheRealRaindrop 81699 wikitext text/x-wiki Screen grab of Coffee Badge from Achievements screen in Chiki's Chase 67a351082de98e08d2fc73320c1115373b6a6c32 Badges 0 118 149 148 2022-09-03T01:27:39Z TheRealRaindrop 81699 Added Swatter, Ghost, Hatted, Potassium, Aurum, and Coffee Badges. Minor updates to some older text. wikitext text/x-wiki Badges are rewarded for various accomplishments in the game. They are tied to achievements on Apple Game Center and Google Play Games. The challenges can be viewed in the Achievements screen and will become visible once achieved. {| class="fandom-table" !Image !Name !Description !How to Achieve |- |[[File:AchievementSleep.png|frameless|100x100px]] |Goodnight Badge |Get some shut-eye |Reach [[Home]] and choose to sleep. |- |[[File:AchievementNight.png|frameless|100x100px]] |Moon Badge |Ignore your bedtime |Reach [[Home]] and choose to stay up. |- |[[File:AchievementStash.png|frameless|100x100px]] |Backpack Badge |Unlock 20 upgrades |Unlock 20 upgrades. [[Upgrades]] can be found from the backpack icon on the character select page. |- |[[File:AchievementRare.png|frameless|100x100px]] |Bunny Badge |Defy all odds |Receive the Hot Pink Bunny Charm from a [[Gacha Capsule]]. |- |[[File:Swatter Badge.png|frameless|100x100px]] |Swatter Badge |Jump on a Dart Fly |Jump on a Dart Fly. |- |[[File:Ghost Badge.png|frameless|100x100px]] |Ghost Badge |Reach home without ever visiting a shop |Run all the way [[Home]] without stopping to talk to the [[Shopkeepers]] at the end of each level. |- |[[File:Hatted Badge.png|frameless|100x100px]] |Hatted Badge |Unlock 20 hats |Unlock 20 hats. Hats can be found from the hat icon on the character select page. |- |[[File:Potassium Badge.png|frameless|100x100px]] |Potassium Badge |Get the banana... then meet your demise |Die immediately after slipping on a banana peel |- |[[File:AchievementTeapot.png|frameless|100x100px]] |Porcelain Badge |Bring home the teapot |Find and pick up the Teapot, then reach [[Home]] without letting it take damage. |- |[[File:AchievementPumpkin.png|frameless|100x100px]] |Pumpkin Badge |Witness the pumpkin stack |Purchase 3 Pumpkins from [[Jack]] at once, then reach the end of that level. |- |[[File:Aurum Badge.png|frameless|100x100px]] |Aurum Badge |Convert lots of gold |Use Gilda's Midas Wand 5 times in one run |- |[[File:Coffee Badge.png|frameless|100x100px]] |Coffee Badge |Caffeine overload |Drink lots of coffee at once! |} 46e07483de9b6cf9d8ca6a5ea22e48440f8e94a9 150 149 2022-09-04T01:56:33Z Greenyglass 81698 wikitext text/x-wiki Badges are rewarded for various accomplishments in the game. They are tied to achievements on Apple Game Center and Google Play Games. The challenges can be viewed in the Achievements screen and will become visible once achieved. {| class="fandom-table" !Image !Name !Description !How to Achieve |- |[[File:AchievementSleep.png|frameless|100x100px]] |Goodnight Badge |Get some shut-eye |Reach [[Home]] and choose to sleep. |- |[[File:AchievementNight.png|frameless|100x100px]] |Moon Badge |Ignore your bedtime |Reach [[Home]] and choose to stay up. |- |[[File:AchievementStash.png|frameless|100x100px]] |Backpack Badge |Unlock 20 upgrades |Unlock 20 upgrades. [[Upgrades]] can be found from the backpack icon on the character select page. |- |[[File:AchievementRare.png|frameless|100x100px]] |Bunny Badge |Defy all odds |Receive the Hot Pink Bunny Charm from a [[Gacha Capsule]]. |- |[[File:Swatter Badge.png|frameless|100x100px]] |Swatter Badge |Jump on a Dart Fly |Jump on a Dart Fly. |- |[[File:Ghost Badge.png|frameless|100x100px]] |Ghost Badge |Reach home without ever visiting a shop |Run all the way [[Home]] without stopping to talk to the [[Shopkeepers]] at the end of each level. |- |[[File:Hatted Badge.png|frameless|100x100px]] |Hatted Badge |Unlock 20 hats |Unlock 20 hats. Hats can be found from the hat icon on the character select page. |- |[[File:Potassium Badge.png|frameless|100x100px]] |Potassium Badge |Get the banana... then meet your demise |Die immediately after slipping on a banana peel |- |[[File:AchievementTeapot.png|frameless|100x100px]] |Porcelain Badge |Bring home the teapot |Find and pick up the Teapot, then reach [[Home]] without letting it take damage. |- |[[File:AchievementPumpkin.png|frameless|100x100px]] |Pumpkin Badge |Witness the pumpkin stack |Purchase 3 Pumpkins from [[Jack]] at once, then reach the end of that level. |- |[[File:Aurum Badge.png|frameless|100x100px]] |Aurum Badge |Convert lots of gold |Use Gilda's Midas Wand 5 times in one run. |- |[[File:Coffee Badge.png|frameless|100x100px]] |Coffee Badge |Caffeine overload |Purchase Coffee from Fiona 8 times in one game. Choosing to sleep after reaching [[Home]] will reset this count. |} efa256fae55c4c6be57dd4718496a9057d25675c Upgrades 0 211 268 267 2022-09-19T02:51:23Z 73.157.134.53 0 Linked to upgrades category page. wikitext text/x-wiki See [[Upgrades]] bb39dedc26f8b0f7c2af53c873dd220e2875a3d1 269 268 2022-09-19T02:53:22Z 73.157.134.53 0 Changed to correct link. wikitext text/x-wiki See Upgrades. 08fe2634e6c31055c99a56d668679ae5ff8cd5da 270 269 2022-09-19T02:54:56Z 73.157.134.53 0 Re-added link wikitext text/x-wiki See [https://chiki.fandom.com/wiki/Category:Upgrades Upgrades] 7096aff70ccab8ee3b152677e5908df78a60e314 Shopkeepers 0 162 200 199 2022-09-19T03:02:33Z GhosyBob 81701 Added a line about shopkeeper inventory. wikitext text/x-wiki Shopkeepers are non-playable characters found at the end of each level. Shopkeepers provide the player with upgrades, and will sell items for coins. Each shopkeeper sells apples in addition to one of two items that are unique to the shopkeepers. 10a6d45dcd5f5a601cbb539f8c9d348e9ce87f6e File:Ronnie Hat Art.png 6 227 297 2022-09-20T19:17:45Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Gems.png 6 218 288 2022-09-20T19:18:19Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Ronnie 0 232 302 2022-09-20T19:22:49Z Retroded4 81697 Created page with "{{CharacterNav}} {{Characters |image1=Ronnie Hat Art.png |caption1=Ronnie's in-game artwork. |attack_count=3 |unlock_criteria=Reach level 4. }}{{quote|A deceptively dangerous cat! Deadly sharp claws can slash through anything standing in your way.}} '''Ronnie''' is one of the four [[:category:Characters|Characters]], unlockable after the player reaches 500 meters or further in a run. ==Attacks== She forms a crescent-like shape with scratches directly infront of her, sign..." wikitext text/x-wiki {{CharacterNav}} {{Characters |image1=Ronnie Hat Art.png |caption1=Ronnie's in-game artwork. |attack_count=3 |unlock_criteria=Reach level 4. }}{{quote|A deceptively dangerous cat! Deadly sharp claws can slash through anything standing in your way.}} '''Ronnie''' is one of the four [[:category:Characters|Characters]], unlockable after the player reaches 500 meters or further in a run. ==Attacks== She forms a crescent-like shape with scratches directly infront of her, significatly shorter than the other characters' attacks. This attack pierces infinitely. ===[[Solar Ring]]=== With a fully charged attack, she will also release three frontrunning scratches directly infront of her, dissipating after a similar amount of time to [[Chiki|Chiki's]] attack. These scratches also infintely pierce and can travel through blocks. ===[[Lunar Ring]]=== TBA. ==Upgrade slots== As custom, she only has 5 upgrade slots to begin with. {| class="fandom-table" ! style="text-align:center" |'''Upgrade slot''' | style="text-align:center" |6 | style="text-align:center" |7 | style="text-align:center" |8 | style="text-align:center" |9 | style="text-align:center" |10 |- ! style="text-align:center" |'''Price''' | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 200 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 300 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 400 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 500 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 600 |} ==Strategies== *Her short attack has goot synergy with the [[Phoenix Candle]], due to the infinite pierce, and can give the attack similar qualities to Chiki's. ==Trivia== *Ronnie was based on dvdfu's pet cat, with the same name. *Ronnie goes by She/Her pronouns.<ref>https://discord.com/channels/851225811197100032/899411333466980412/967926601557872650</ref> ==References== <references /> 81a63064365364bdc36e38ceebb55654913f64c2 Template:Characters 10 50 64 2022-09-20T19:23:00Z Retroded4 81697 Created page with "<infobox layout="stacked"> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="attack_count"> <label>Attack count</label> </data> <data source="unlock_criteria"> <label>Unlock criteria</label> </data> </infobox> <noinclude> Example usage: <pre> {{Characters | title1=Example | image1=Example | caption1=Example | attack_count=Example | unl..." wikitext text/x-wiki <infobox layout="stacked"> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="attack_count"> <label>Attack count</label> </data> <data source="unlock_criteria"> <label>Unlock criteria</label> </data> </infobox> <noinclude> Example usage: <pre> {{Characters | title1=Example | image1=Example | caption1=Example | attack_count=Example | unlock_criteria=Example }} </pre> <templatedata> {"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"attack_count":{"suggested":true},"unlock_criteria":{"suggested":true}},"sets":[],"maps":{}} </templatedata> </noinclude> ec33fd84b84de085a2232634e1cbe68901971c02 Template:CharacterNav 10 82 107 2022-09-20T19:24:38Z Retroded4 81697 Created page with "<hr> {| style=" margin:auto; text-align:center;" cellpadding="3" cellspacing="3; float:left; width: 100%;" | colspan="7" style="text-align:center" |'''[[:category:Characters|Characters]]''' |- |[[File:Chiki (icon mid).png|link=Chiki|x72px]] | |[[File:Ronnie (icon mid).png|link=Ronnie|x72px]] | |[[File:Pickle (icon mid).png|link=Pickle|x72px]] | |[[File:Skips (icon mid).png|link=Skips|x72px]] |- |[[Chiki]] | |[[Ronnie]] | |[[Pickle]] | |[[Skips]] |} <hr>" wikitext text/x-wiki <hr> {| style=" margin:auto; text-align:center;" cellpadding="3" cellspacing="3; float:left; width: 100%;" | colspan="7" style="text-align:center" |'''[[:category:Characters|Characters]]''' |- |[[File:Chiki (icon mid).png|link=Chiki|x72px]] | |[[File:Ronnie (icon mid).png|link=Ronnie|x72px]] | |[[File:Pickle (icon mid).png|link=Pickle|x72px]] | |[[File:Skips (icon mid).png|link=Skips|x72px]] |- |[[Chiki]] | |[[Ronnie]] | |[[Pickle]] | |[[Skips]] |} <hr> 30c239fdfc94944acae78228734d2acc568370e4 File:Chiki (icon mid).png 6 137 169 2022-09-20T19:24:51Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Ronnie (icon mid).png 6 222 292 2022-09-20T19:25:07Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Pickle (icon mid).png 6 197 239 2022-09-20T19:25:17Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Skips (icon mid).png 6 12 18 2022-09-20T19:25:30Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Ronnie (default attack).gif 6 106 135 2022-09-20T19:30:47Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Ronnie 0 232 303 302 2022-09-20T19:31:21Z Retroded4 81697 wikitext text/x-wiki {{CharacterNav}} {{Characters |image1=Ronnie Hat Art.png |caption1=Ronnie's in-game artwork. |attack_count=3 |unlock_criteria=Reach level 4. }}{{quote|A deceptively dangerous cat! Deadly sharp claws can slash through anything standing in your way.}} '''Ronnie''' is one of the four [[:category:Characters|Characters]], unlockable after the player reaches 500 meters or further in a run. ==Attacks== [[File:Ronnie (default attack).gif|thumb]] She forms a crescent-like shape with scratches directly infront of her, significatly shorter than the other characters' attacks. This attack pierces infinitely. ===[[Solar Ring]]=== With a fully charged attack, she will also release three frontrunning scratches directly infront of her, dissipating after a similar amount of time to [[Chiki|Chiki's]] attack. These scratches also infintely pierce and can travel through blocks. ===[[Lunar Ring]]=== TBA. ==Upgrade slots== As custom, she only has 5 upgrade slots to begin with. {| class="fandom-table" ! style="text-align:center" |'''Upgrade slot''' | style="text-align:center" |6 | style="text-align:center" |7 | style="text-align:center" |8 | style="text-align:center" |9 | style="text-align:center" |10 |- ! style="text-align:center" |'''Price''' | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 200 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 300 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 400 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 500 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 600 |} ==Strategies== *Her short attack has goot synergy with the [[Phoenix Candle]], due to the infinite pierce, and can give the attack similar qualities to Chiki's. ==Trivia== *Ronnie was based on dvdfu's pet cat, with the same name. *Ronnie goes by She/Her pronouns.<ref>https://discord.com/channels/851225811197100032/899411333466980412/967926601557872650</ref> ==References== <references /> 93637e6644a09c13868ba9d7db48b3fc3ccdb75f 304 303 2022-09-20T19:31:55Z Retroded4 81697 wikitext text/x-wiki {{CharacterNav}} {{Characters |image1=Ronnie Hat Art.png |caption1=Ronnie's in-game artwork. |attack_count=3 |unlock_criteria=Reach level 4. }}{{quote|A deceptively dangerous cat! Deadly sharp claws can slash through anything standing in your way.}} '''Ronnie''' is one of the four [[:category:Characters|Characters]], unlockable after the player reaches 500 meters or further in a run. ==Attacks== [[File:Ronnie (default attack).gif|thumb|border|Ronnie's default attack.]] She forms a crescent-like shape with scratches directly infront of her, significatly shorter than the other characters' attacks. This attack pierces infinitely. ===[[Solar Ring]]=== With a fully charged attack, she will also release three frontrunning scratches directly infront of her, dissipating after a similar amount of time to [[Chiki|Chiki's]] attack. These scratches also infintely pierce and can travel through blocks. ===[[Lunar Ring]]=== TBA. ==Upgrade slots== As custom, she only has 5 upgrade slots to begin with. {| class="fandom-table" ! style="text-align:center" |'''Upgrade slot''' | style="text-align:center" |6 | style="text-align:center" |7 | style="text-align:center" |8 | style="text-align:center" |9 | style="text-align:center" |10 |- ! style="text-align:center" |'''Price''' | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 200 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 300 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 400 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 500 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 600 |} ==Strategies== *Her short attack has goot synergy with the [[Phoenix Candle]], due to the infinite pierce, and can give the attack similar qualities to Chiki's. ==Trivia== *Ronnie was based on dvdfu's pet cat, with the same name. *Ronnie goes by She/Her pronouns.<ref>https://discord.com/channels/851225811197100032/899411333466980412/967926601557872650</ref> ==References== <references /> 8b17ec966f6c1ec112ad77a66f6b80be76d476d2 305 304 2022-09-20T19:36:48Z Retroded4 81697 wikitext text/x-wiki {{CharacterNav}} {{Characters |image1=Ronnie Hat Art.png |caption1=Ronnie's in-game artwork. |attack_count=3 |unlock_criteria=Reach level 4. }}{{quote|A deceptively dangerous cat! Deadly sharp claws can slash through anything standing in your way.}} '''Ronnie''' is one of the four [[:category:Characters|Characters]], unlockable after the player reaches 500 meters or further in a run. ==Attacks== [[File:Ronnie (default attack).gif|thumb|border|Ronnie's default attack.]] She forms a crescent-like shape with scratches directly infront of her, significatly shorter than the other characters' attacks. This attack pierces infinitely. ===[[Solar Ring]]=== [[File:Ronnie (Solar Ring attack).gif|border|thumb|Ronnie's attack with the [[Solar Ring]] equipped.]] With a fully charged attack, she will also release three frontrunning scratches directly infront of her, dissipating after a similar amount of time to [[Chiki|Chiki's]] attack. These scratches also infintely pierce and can travel through blocks. ===[[Lunar Ring]]=== TBA. ==Upgrade slots== As custom, she only has 5 upgrade slots to begin with. {| class="fandom-table" ! style="text-align:center" |'''Upgrade slot''' | style="text-align:center" |6 | style="text-align:center" |7 | style="text-align:center" |8 | style="text-align:center" |9 | style="text-align:center" |10 |- ! style="text-align:center" |'''Price''' | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 200 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 300 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 400 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 500 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 600 |} ==Strategies== *Her short attack has goot synergy with the [[Phoenix Candle]], due to the infinite pierce, and can give the attack similar qualities to Chiki's. ==Trivia== *Ronnie was based on dvdfu's pet cat, with the same name. *Ronnie goes by She/Her pronouns.<ref>https://discord.com/channels/851225811197100032/899411333466980412/967926601557872650</ref> ==References== <references /> 0a2e9ce3b956854dfcaf854d0b109b01826d959f 306 305 2022-09-20T19:40:33Z Retroded4 81697 wikitext text/x-wiki {{CharacterNav}} {{Characters |image1=Ronnie Hat Art.png |caption1=Ronnie's in-game artwork. |attack_count=3 |unlock_criteria=Reach level 4. }}{{quote|A deceptively dangerous cat! Deadly sharp claws can slash through anything standing in your way.}} '''Ronnie''' is one of the four [[:category:Characters|Characters]], unlockable after the player reaches level 4 in a run. ==Attacks== [[File:Ronnie (default attack).gif|thumb|border|Ronnie's default attack.]] She forms a crescent-like shape with scratches directly infront of her, significatly shorter than the other characters' attacks. This attack pierces infinitely. ===[[Solar Ring]]=== [[File:Ronnie (Solar Ring attack).gif|border|thumb|Ronnie's attack with the [[Solar Ring]] equipped.]] With a fully charged attack, she will also release three frontrunning horizontal scratches directly infront of her, dissipating after a similar amount of time to [[Chiki|Chiki's]] attack. These scratches also infintely pierce and can travel through blocks. ===[[Lunar Ring]]=== TBA. ==Upgrade slots== As custom, she only has 5 upgrade slots to begin with. {| class="fandom-table" ! style="text-align:center" |'''Upgrade slot''' | style="text-align:center" |6 | style="text-align:center" |7 | style="text-align:center" |8 | style="text-align:center" |9 | style="text-align:center" |10 |- ! style="text-align:center" |'''Price''' | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 200 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 300 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 400 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 500 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 600 |} ==Strategies== *Her short attack has goot synergy with the [[Phoenix Candle]], due to the infinite pierce, and can give the attack similar qualities to Chiki's. ==Trivia== *Ronnie was based on dvdfu's pet cat, with the same name. *Ronnie goes by She/Her pronouns.<ref>https://discord.com/channels/851225811197100032/899411333466980412/967926601557872650</ref> ==References== <references /> ecfcc696729931a9f51fa17c7245b93a5205d308 307 306 2022-09-26T18:55:23Z Retroded4 81697 wikitext text/x-wiki {{CharacterNav}} {{Characters |image1=Ronnie Hat Art.png |caption1=Ronnie's in-game artwork. |attack_count=3 |unlock_criteria=Reach level 4. }}{{quote|A deceptively dangerous cat! Deadly sharp claws can slash through anything standing in your way.}} '''Ronnie''' is one of the four [[:category:Characters|Characters]], unlockable after the player reaches level 4 in a run. ==Attacks== [[File:Ronnie (default attack).gif|thumb|border|Ronnie's default attack.]] She forms a crescent-like shape with scratches directly infront of her, significatly shorter than the other characters' attacks. This attack pierces infinitely. ===[[Solar Ring]]=== [[File:Ronnie (Solar Ring attack).gif|border|thumb|Ronnie's attack with the [[Solar Ring]] equipped.]] With a fully charged attack, she will also release three frontrunning horizontal scratches directly infront of her, dissipating after a similar amount of time to [[Chiki|Chiki's]] attack. These scratches also infintely pierce and can travel through blocks. ===[[Lunar Ring]]=== [[File:Ronnie (Lunar Ring attack).gif|thumb|Ronnie's attack with the [[Lunar Ring]] equipped.]] With a fully charged attack, her scratches increase in size vertically by ~50%. This attack also pierces infinitely. ===Union attack=== Her union attack combines the effect of both of the former. == Upgrade slots== As custom, she only has 5 upgrade slots to begin with. {| class="fandom-table" ! style="text-align:center" |'''Upgrade slot''' | style="text-align:center" |6 | style="text-align:center" |7 | style="text-align:center" |8 | style="text-align:center" |9 | style="text-align:center" |10 |- ! style="text-align:center" |'''Price''' | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 200 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 300 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 400 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 500 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 600 |} ==Strategies== *Her short attack has goot synergy with the [[Phoenix Candle]], due to the infinite pierce, and can give the attack similar qualities to Chiki's. ==Trivia== *Ronnie was based on dvdfu's pet cat, with the same name. *Ronnie goes by She/Her pronouns.<ref>https://discord.com/channels/851225811197100032/899411333466980412/967926601557872650</ref> ==References== <references /> b1fa80cea2d2f0636ed26f25a43ee025401bb588 File:Ronnie (Solar Ring attack).gif 6 169 207 2022-09-20T19:35:45Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Template:Upgrade 10 204 256 255 2022-09-21T18:32:58Z Retroded4 81697 wikitext text/x-wiki <infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <data source="row3"> <label>Label</label> </data> <image source="image1"> <caption source="caption1"/> </image> <data source="description"> <label>Description</label> </data> <data source="unlock_condition"> <label>Unlock Condition</label> </data> </infobox> <noinclude> Example usage: <pre> {{Upgrade | title1=Example | row3=Example | image1=Example | caption1=Example | description=Example | unlock_condition=Example }} </pre> <templatedata> {"params":{"title1":{"suggested":true},"row3":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"description":{"suggested":true},"unlock_condition":{"suggested":true}},"sets":[],"maps":{}} </templatedata> </noinclude> a4a93d450916886f6232998b595bc340c6fbbc29 257 256 2022-09-21T18:33:39Z Retroded4 81697 wikitext text/x-wiki <infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <data source="type"> </data> <image source="image1"> <caption source="caption1"/> </image> <data source="description"> <label>Description</label> </data> <data source="unlock_condition"> <label>Unlock Condition</label> </data> </infobox> <noinclude> Example usage: <pre> {{Upgrade | title1=Example | image1=Example | caption1=Example | description=Example | unlock_condition=Example }} </pre> <templatedata> {"params":{"title1":{"suggested":true},"row3":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"description":{"suggested":true},"unlock_condition":{"suggested":true}},"sets":[],"maps":{}} </templatedata> </noinclude> 07274ce1ac751f1b7d1e078cfc9056a8c3e16640 258 257 2022-09-21T18:37:53Z Retroded4 81697 wikitext text/x-wiki <infobox layout="stacked"> <title source="title1"> <default>{{PAGENAME}}</default> </title> <data source="type" style="text-align: center;"> </data> <image source="image1"> <caption source="caption1"/> </image> <data source="description"> <label>Description</label> </data> <data source="unlock_condition"> <label>Unlock Condition</label> </data> </infobox> <noinclude> Example usage: <pre> {{Upgrade | title1=Example | image1=Example | caption1=Example | description=Example | unlock_condition=Example }} </pre> <templatedata> {"params":{"title1":{"suggested":true},"row3":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"description":{"suggested":true},"unlock_condition":{"suggested":true}},"sets":[],"maps":{}} </templatedata> </noinclude> d2a838a1ee624cd3801947cb71171fcc7dc1ea45 259 258 2022-09-21T18:38:37Z Retroded4 81697 wikitext text/x-wiki <infobox layout="stacked"> <title source="title1"> <default>{{PAGENAME}}</default> </title> <div style="text-align: center;"> <data source="type"> </data> </div> <image source="image1"> <caption source="caption1"/> </image> <data source="description"> <label>Description</label> </data> <data source="unlock_condition"> <label>Unlock Condition</label> </data> </infobox> <noinclude> Example usage: <pre> {{Upgrade | title1=Example | image1=Example | caption1=Example | description=Example | unlock_condition=Example }} </pre> <templatedata> {"params":{"title1":{"suggested":true},"row3":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"description":{"suggested":true},"unlock_condition":{"suggested":true}},"sets":[],"maps":{}} </templatedata> </noinclude> 18c084ce2964da25fa96d13a5c9c22962b38b5ec 260 259 2022-09-21T18:39:18Z Retroded4 81697 wikitext text/x-wiki <infobox layout="stacked"> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="description"> <label>Description</label> </data> <data source="unlock_condition"> <label>Unlock Condition</label> </data> </infobox> <noinclude> Example usage: <pre> {{Upgrade | title1=Example | image1=Example | caption1=Example | description=Example | unlock_condition=Example }} </pre> <templatedata> {"params":{"title1":{"suggested":true},"row3":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"description":{"suggested":true},"unlock_condition":{"suggested":true}},"sets":[],"maps":{}} </templatedata> </noinclude> 3c57a13d233a2a97d67f5975ab7b5a21324e4e76 Trusty Pickaxe 0 184 226 225 2022-09-21T18:35:35Z Retroded4 81697 wikitext text/x-wiki {{Upgrade |image1=Upgrades16.png |type=[[:category:Upgrades|Upgrade]] |description="Some dirt blocks contain coins" |unlock_condition=Destroy 40 coin-filled dirt blocks in one game }} The '''Trusty Pickaxe''' is an [[:category:Upgrades|Upgrade]], attainable through pre-equipping or selection in [[Shops]], as long as the player has a upgrade slot available. ===Effects=== *25% of dirt blocks will contain 8 coins. *The quantity of the coins received is affected by [[Money Bag]]. [[Category:Upgrades]] 30f065bbd8c7cf52a8bf6412326c02d54a684d6a Fiona 0 2 4 3 2022-09-22T22:19:41Z Huntergames084 79938 wikitext text/x-wiki {{ShopkeeperNav}} {{Shopkeeper |image1=Fiona Default.png }} '''Fiona''' is one of the four [[:Category:Shopkeepers|Shopkeepers]], located in [[Shops]]. Like the other shopkeepers, if the player has an available [[:Category:Upgrades|Upgrade]] slot, she will offer the player an uprgade. ==Shop listing== ===Upgrades=== She will offer a selection of 3 upgrades, or 4 if the player has the [[Reusable Bag]] uprgade. She will never offer upgrades the player already has. ===Item shop=== Once the player has chosen a desired upgrade, or if the player has no upgrade slots remaining, she will offer some [[:category:Items|Items]]. {| class="fandom-table" ! style="text-align:center" |'''Item''' | style="text-align:center" |[[File:Items1.png|48x48px|link=Apple]]<br><small>[[Apple]]</small> | style="text-align:center" |[[File:ShopItems 8.png|48x48px|link=Dark Roast]]<br><small>[[Dark Roast]]</small> | style="text-align:center" |[[File:ShopItems 9.png|48x48px|link=Caramel Latte]]<br><small>[[Caramel Latte]]</small> | style="text-align:center" |[[File:Shield Repair.png|48x48px|link=Shield Repair]]<br><small>[[Shield Repair]]</small> |- ! style="text-align:center" |'''Availability''' | style="text-align:center" |<small>Always</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the level number is odd.</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the level number is even.</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the player has the Wooden Shield equipped, but the shield has been used up.</small> |- !'''Base price''' | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 40 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 30 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 60 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 100 |} ==Quotes== {| |'''When encountered''' *''"*yawn* hey, welcome"'' *''"Hey. What's up?"'' *''"Oh, it's you."'' <small>(when encountered after meeting before)</small> *''"Back again, huh?"'' <small>(when encountered after meeting before)</small> *''"Why'd I get the night shift..."'' <small>(when encountered at [[Night]])</small> *''"Woah. You look like crap."'' <small>(when encountered on one health)</small> |- |'''On the upgrades screen''' *''"Need any of this junk?"'' *''"Trying to clear out, need anything?"'' |- |'''On the item shop screen''' *''"What can I get you?"'' *''"So, did you wanna pay for something...?"'' *''"Sure."'' <small>(when an [[Apple]] is bought)</small> *''"House blend. Enjoy"'' <small>(when a [[Dark Roast]] is bought)</small> *''"Drink up while it's hot."'' <small>(when a [[Dark Roast]] is bought)</small> *''"At this rate, you'll be up for a week."'' <small>(when eight [[Dark Roast|Dark Roasts]] are bought, attaining the [[Coffee Badge]])</small> *''"You're gonna love this."'' <small>(when a [[Caramel Latte]] is bought)</small> *''"Hope it's not too sweet."'' <small>(when a [[Caramel Latte]] is bought)</small> *''"Don't break it again, ok?"'' <small>(when a [[Shield Repair]] is bought)</small> *''"How did you break this so easily, anyway?"'' <small>(when a [[Shield Repair]] is bought)</small> *''"Almost as good as I make it."'' <small>(when served the [[Teapot]])</small> *''"If you're trying to impress me... not bad!"'' <small>(when served the [[Teapot]])</small> *''"That's a good cup of tea."'' <small>(when served the [[Teapot]])</small> |- |'''When leaving''' *''"Thanks! See ya 'round."'' *''"Stop by whenever."'' *''"Really? Nothing?"'' <small>(if nothing is bought)</small> *''"You know we sell drinks, right?"'' <small>(if only [[Apple|Apples]] or [[Shield Repair|Shield Repairs]] are bought)</small> *''"Just so you know, this is a coffee shop."'' <small>(if only [[Apple|Apples]] or [[Shield Repair|Shield Repairs]] are bought)</small> |} ==Trivia== *Fiona is a wolf. *Before update 1.3, Fiona would only show up if the player ended the level with the [[Star Power]] effect active, if conditions for [[Momo]] and [[Gilda]] to show up were not met. This has now been scrapped. [[Category:Shopkeepers]] e4557653cb94628b2c2df87949ae60c2fd92695a File:Ronnie (Lunar Ring attack).gif 6 181 219 2022-09-26T18:43:49Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Distance 0 5 7 2022-10-09T17:30:51Z Retroded4 81697 Created page with "'''Distance''' is a stat, measured in meters, and major determiner of overall score. Physical distance is measured by the players <math display="inline">x</math>position, whereas total difference (shown in game) includes the sum of the players <math>x</math>position and [[Travel Stamp|Travel Stamps]]. [[Shops]] and [[Home]] are located at pre-defined physical distance values. At a distance of 41000m, the integer limit is disturbed and ground will not spawn.<ref>https://..." wikitext text/x-wiki '''Distance''' is a stat, measured in meters, and major determiner of overall score. Physical distance is measured by the players <math display="inline">x</math>position, whereas total difference (shown in game) includes the sum of the players <math>x</math>position and [[Travel Stamp|Travel Stamps]]. [[Shops]] and [[Home]] are located at pre-defined physical distance values. At a distance of 41000m, the integer limit is disturbed and ground will not spawn.<ref>https://www.youtube.com/watch?v=IEOTtdMkktQ</ref> The shops for each level are located at the following distances. Shops will spawn ±50m from their distances. {| class="fandom-table" !'''Level (<math>n</math>)''' |<small>1</small> |<small>2</small> |<small>3</small> |<small>4</small> |<small>5</small> |<small>6</small> |<small>7</small> |<small>8</small> |<small>9</small> |<small>10 ([[Home]])</small> |<small>11</small> |<small>12</small> |<small>13</small> |<small>14</small> |<small><math>14<n</math></small> |- !'''Shop distance''' '''(m)''' |<small>100</small> |<small>350</small> |<small>650</small> |<small>1000</small> |<small>1500</small> |<small>2000</small> |<small>2550</small> |<small>3200</small> |<small>3900</small> |<small>4650</small> |<small>5500</small> |<small>6400</small> |<small>7400</small> |<small>8400</small> |<small><math>50n^2 - 350n - 3500</math></small> |} f440977901e2c543856bc332d959cc97e05ef63a 8 7 2022-10-09T17:32:06Z Retroded4 81697 wikitext text/x-wiki '''Distance''' is a stat, measured in meters, and major determiner of overall score. Physical distance is measured by the players <math display="inline">x</math>position, whereas total difference (shown in game) includes the sum of the players <math>x</math>position and [[Travel Stamp|Travel Stamps]]. [[Shops]] and [[Home]] are located at pre-defined physical distance values. The shops for each level are located at the following distances. Shops will spawn ±50m from their distances. {| class="fandom-table" !'''Level (<math>n</math>)''' |1 |2 |3 |4 |5 |6 |7 |8 |9 |10 ([[Home]]) |11 |12 |13 |14 |<math>14<n</math> |- !'''Shop distance''' '''(m)''' |100 |350 |650 |1000 |1500 |2000 |2550 |3200 |3900 |4650 |5500 |6400 |7400 |8400 |<math>50n^2 - 350n - 3500</math> |} == Trivia == * At a distance of 41000m, the integer limit is disturbed and ground will not spawn.<ref>https://www.youtube.com/watch?v=IEOTtdMkktQ</ref> == References == 1b0296b54e6d55568d4c870068deb15ca088cfa3 9 8 2022-10-18T18:18:01Z Retroded4 81697 wikitext text/x-wiki {{spoiler}} '''Distance''' is a stat, measured in meters, and major determiner of overall score. Physical distance is measured by the players <math display="inline">x</math>position, whereas total difference (shown in game) includes the sum of the players <math>x</math>position and [[Travel Stamp|Travel Stamps]]. [[Shops]] and [[Home]] are located at pre-defined physical distance values. The shops for each level are located at the following distances. Shops will spawn ±50m from their distances. {| class="fandom-table" !'''Level (<math>n</math>)''' |1 |2 |3 |4 |5 |6 |7 |8 |9 |10 ([[Home]]) |11 |12 |13 |14 |<math>14<n</math> |- !'''Shop distance''' '''(m)''' |100 |350 |650 |1000 |1500 |2000 |2550 |3200 |3900 |4650 |5500 |6400 |7400 |8400 |<math>50n^2 - 350n - 3500</math> |} == Trivia == * At a distance of 41000m, the integer limit is disturbed and ground will not spawn.<ref>https://www.youtube.com/watch?v=IEOTtdMkktQ</ref> == References == 3a3c44f3e9ce3511f61faf5c26b99bb1e9020606 10 9 2022-10-18T18:18:12Z Retroded4 81697 Adding categories wikitext text/x-wiki {{spoiler}} '''Distance''' is a stat, measured in meters, and major determiner of overall score. Physical distance is measured by the players <math display="inline">x</math>position, whereas total difference (shown in game) includes the sum of the players <math>x</math>position and [[Travel Stamp|Travel Stamps]]. [[Shops]] and [[Home]] are located at pre-defined physical distance values. The shops for each level are located at the following distances. Shops will spawn ±50m from their distances. {| class="fandom-table" !'''Level (<math>n</math>)''' |1 |2 |3 |4 |5 |6 |7 |8 |9 |10 ([[Home]]) |11 |12 |13 |14 |<math>14<n</math> |- !'''Shop distance''' '''(m)''' |100 |350 |650 |1000 |1500 |2000 |2550 |3200 |3900 |4650 |5500 |6400 |7400 |8400 |<math>50n^2 - 350n - 3500</math> |} == Trivia == * At a distance of 41000m, the integer limit is disturbed and ground will not spawn.<ref>https://www.youtube.com/watch?v=IEOTtdMkktQ</ref> == References == [[Category:Game mechanics]] fb83efadbf6a8abe3fee2dd3a8fb9d0206860671 11 10 2022-10-18T18:18:33Z Retroded4 81697 wikitext text/x-wiki {{spoiler}} '''Distance''' is a stat, measured in meters, and major determiner of overall score. Physical distance is measured by the players <math display="inline">x</math>position, whereas total difference (shown in game) includes the sum of the players <math>x</math>position and [[Travel Stamp|Travel Stamps]], [[Shops]] and [[Home]] are located at pre-defined physical distance values. The shops for each level are located at the following distances. Shops will spawn ±50m from their distances. {| class="fandom-table" !'''Level (<math>n</math>)''' |1 |2 |3 |4 |5 |6 |7 |8 |9 |10 ([[Home]]) |11 |12 |13 |14 |<math>14<n</math> |- !'''Shop distance''' '''(m)''' |100 |350 |650 |1000 |1500 |2000 |2550 |3200 |3900 |4650 |5500 |6400 |7400 |8400 |<math>50n^2 - 350n - 3500</math> |} == Trivia == * At a distance of 41000m, the integer limit is disturbed and ground will not spawn.<ref>https://www.youtube.com/watch?v=IEOTtdMkktQ</ref> == References == [[Category:Game mechanics]] 31a84d83079e8dee1f6ced9a0985e7fba053c9bd File:Double-A Batteries.png 6 42 54 2022-10-10T20:41:31Z U6o 19 81700 wikitext text/x-wiki :) fb17882585bbfe9c55733a6e46a265ddaea6957a 55 54 2022-10-10T20:46:29Z U6o 19 81700 Blanked the page wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 56 55 2022-10-10T20:48:05Z U6o 19 81700 wikitext text/x-wiki === kkk === e577d2524626aff22ad6b3316135f73c4d1b1a3f Double-A Batteries 0 78 93 2022-10-10T20:48:46Z U6o 19 81700 Created page with "[[File:Double-A Batteries.png|thumb]]" wikitext text/x-wiki [[File:Double-A Batteries.png|thumb]] 385594451994d11edb24506872da22df8065d9b1 94 93 2022-10-10T20:49:43Z U6o 19 81700 wikitext text/x-wiki [[File:Double-A Batteries.png|thumb|'''Description'''Gives 2 extra atacks]] 4b7f8af25877141f66d39a35816cd14debdf1dc6 95 94 2022-10-10T20:50:16Z U6o 19 81700 wikitext text/x-wiki [[File:Double-A Batteries.png|thumb|'''Description''' Gives 2 extra atacks]] 8e6ec8cfd05d65ae84ca3abd21fffea0ebbf36e2 96 95 2022-10-10T20:52:37Z U6o 19 81700 wikitext text/x-wiki [[File:Double-A Batteries.png|thumb|Description <blockquote>Description Gives 2 extra atacks</blockquote>]] 95f6164a5722798a80ffe220abc5a926e0655e76 97 96 2022-10-10T20:53:02Z U6o 19 81700 wikitext text/x-wiki [[File:Double-A Batteries.png|thumb|'''Description'''Gives 2 extra atacks]] 4b7f8af25877141f66d39a35816cd14debdf1dc6 98 97 2022-10-18T18:31:15Z Retroded4 81697 wikitext text/x-wiki {{Upgrade |image1=Double-A Batteries.png |description=Gives 2 extra atacks |unlock_condition=Attack 800 times in one game }} The '''Double-A Batteries''' is an [[:category:Upgrades|Upgrade]], attainable through pre-equipping or selection in [[Shops]], as long as the player has a upgrade slot available. ==Effects== ===Primary=== *Increases the player's attack count by 2. ===Additional=== *''No additional effects'' [[Category:Upgrades]] a970ee6bfe8bd35dbc49c32ce3899094563676c3 Jack 0 79 103 102 2022-10-18T18:20:02Z 138.229.250.180 0 Minor edit to one health page wikitext text/x-wiki {{ShopkeeperNav}} {{Shopkeeper |image1=Jack Default.png }} '''Jack''' is one of the four [[:category:Shopkeepers|Shopkeepers]], located in [[Shops]]. Like the other shopkeepers, if the player has an available [[:category:Upgrades|Upgrade]] slot, he will offer the player an uprgade. ==Shop listing== ===Upgrades=== He will offer a selection of 3 upgrades, or 4 if the player has the [[Reusable Bag]] uprgade. He will never offer upgrades the player already has. ===Item shop=== Once the player has chosen a desired upgrade, or if the player has no upgrade slots remaining, he will offer some [[:category:Items|Items]]. {| class="fandom-table" ! style="text-align:center" |'''Item''' | style="text-align:center" |[[File:Items1.png|48x48px|link=Apple]]<br><small>[[Apple]]</small> | style="text-align:center" |[[File:Items10.png|48x48px|link=Star Cider]]<br><small>[[Star Cider]]</small> | style="text-align:center" |[[File:Pumpkin.png|48x48px|link=Pumpkin]]<br><small>[[Pumpkin]]</small> | style="text-align:center" |[[File:Shield Repair.png|48x48px|link=Shield Repair]]<br><small>[[Shield Repair]]</small> |- ! style="text-align:center" |'''Availability''' | style="text-align:center" |<small>Always</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the pumpkin is not being sold.</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>Sold as long as the player has under 3 health points and has enough coins to purchase 4 apples.</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the player has the Wooden Shield equipped, but the shield has been used up.</small> |- !'''Base price''' | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 40 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] <abbr title="Price does not scale.">30</abbr> | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 300 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 100 |} ==Quotes== {| |'''After the tutorial''' * ''"Hey there, welcome to the store! My name's Jack."'' * ''"Thanks for chasing out all the monsters 'round here!"'' * ''"Let me help out any way I can."'' |- |'''When encountered''' *''"Hey, come on in!"'' *''"Hey there!"'' *''"Welcome back!"'' <small>(when encountered after meeting before)</small> *''"Yikes... Hang in there...!"'' <small>(when encountered on one health)</small> |- |'''On the upgrades screen''' *''"There's always too much stuff lying around... ya need one?"'' *''"Take one of these with ya!"'' |- |'''On the item shop screen''' * ''"Lots for sale, so take look!"'' *''"Fresh foods, come take a look!"'' *''"Lemme help you handle those varmints!"'' *''" 'ppreciate it!"'' <small>(when an [[Apple]] is bought)</small> *''"Why, thank you!"'' <small>(when an [[Apple]] is bought)</small> *''"Refreshing, huh?"'' <small>(when a [[Star Cider]] is bought)</small> *''"Nothin' else like it."'' <small>(when a [[Star Cider]] is bought)</small> *''"Family recipe! Hope you like it."'' <small>(when a [[Star Cider]] is bought)</small> *''"Woah, you're glowing!!"'' <small>(when a [[Star Cider]] is bought and it initializes the [[Star Power]] effect)</small> *''"Look at you glow!!"'' <small>(when a [[Star Cider]] is bought and it initializes the [[Star Power]] effect)</small> *''"Just in time for the harvest."'' <small>(when a [[Pumpkin]] is bought)</small> *''"I'll have this planted up ahead."'' <small>(when a [[Pumpkin]] is bought)</small> *''"There, good as new!"'' <small>(when a [[Shield Repair]] is bought)</small> |- |'''When leaving''' *''"Keep yourself safe!"'' *''"See you around!"'' *''"Maybe next time!"'' <small>(if nothing is bought)</small> *''"C-careful out there!"'' <small>(when the player is under the effect of [[Star Power]])</small> *''"Show 'em who's boss!"'' <small>(when the player is under the effect of [[Star Power]])</small> |} == Trivia == * Pre-release, Jack was named "Chip", though this was changed in version 220317. Jack's expression files are still found using this name. * Before update 1.3, Jack would only show up if the player could afford at least four [[Apple|Apples]], generally as a consequence of the player deliberately saving up. This was removed because of players generally having lots of coins late game, and Jack would only show up most of the time. * Jack is always the first shopkeeper to appear in the [[Tutorial Level]]. [[Category:Shopkeepers]] 6d393a81056c4d681aa70672718d2e0a75e45bff 104 103 2022-10-18T18:20:48Z 138.229.250.180 0 wikitext text/x-wiki {{ShopkeeperNav}} {{Shopkeeper |image1=Jack Default.png }} '''Jack''' is one of the four [[:category:Shopkeepers|Shopkeepers]], located in [[Shops]]. Like the other shopkeepers, if the player has an available [[:category:Upgrades|Upgrade]] slot, he will offer the player an uprgade. ==Shop listing== ===Upgrades=== He will offer a selection of 3 upgrades, or 4 if the player has the [[Reusable Bag]] uprgade. He will never offer upgrades the player already has. ===Item shop=== Once the player has chosen a desired upgrade, or if the player has no upgrade slots remaining, he will offer some [[:category:Items|Items]]. {| class="fandom-table" ! style="text-align:center" |'''Item''' | style="text-align:center" |[[File:Items1.png|48x48px|link=Apple]]<br><small>[[Apple]]</small> | style="text-align:center" |[[File:Items10.png|48x48px|link=Star Cider]]<br><small>[[Star Cider]]</small> | style="text-align:center" |[[File:Pumpkin.png|48x48px|link=Pumpkin]]<br><small>[[Pumpkin]]</small> | style="text-align:center" |[[File:Shield Repair.png|48x48px|link=Shield Repair]]<br><small>[[Shield Repair]]</small> |- ! style="text-align:center" |'''Availability''' | style="text-align:center" |<small>Always</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the pumpkin is not being sold.</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>Sold as long as the player has under 3 health points and has enough coins to purchase 4 apples.</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the player has the Wooden Shield equipped, but the shield has been used up.</small> |- !'''Base price''' | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 40 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] <abbr title="Price does not scale.">30</abbr> | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 300 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 100 |} ==Quotes== {| |'''After the tutorial''' * ''"Hey there, welcome to the store! My name's Jack."'' * ''"Thanks for chasing out all the monsters 'round here!"'' * ''"Let me help out any way I can."'' |- |'''When encountered''' *''"Hey, come on in!"'' *''"Hey there!"'' *''"Welcome back!"'' <small>(when encountered after meeting before)</small> *''"Yikes... Hang in there...!"'' <small>(when encountered on one health)</small> |- |'''On the upgrades screen''' *''"There's always too much stuff lying around... ya need one?"'' *''"Take one of these with ya!"'' |- |'''On the item shop screen''' * ''"Lots for sale, so take look!"'' *''"Fresh foods, come take a look!"'' *''"Lemme help you handle those varmints!"'' *''" 'ppreciate it!"'' <small>(when an [[Apple]] is bought)</small> *''"Why, thank you!"'' <small>(when an [[Apple]] is bought)</small> *''"Refreshing, huh?"'' <small>(when a [[Star Cider]] is bought)</small> *''"Nothin' else like it."'' <small>(when a [[Star Cider]] is bought)</small> *''"Family recipe! Hope you like it."'' <small>(when a [[Star Cider]] is bought)</small> *''"Woah, you're glowing!!"'' <small>(when a [[Star Cider]] is bought and it initializes the [[Star Power]] effect)</small> *''"Look at you glow!!"'' <small>(when a [[Star Cider]] is bought and it initializes the [[Star Power]] effect)</small> *''"Just in time for the harvest."'' <small>(when a [[Pumpkin]] is avaliable)</small> *''"I'll have this planted up ahead."'' <small>(when a [[Pumpkin]] is bought)</small> *''"There, good as new!"'' <small>(when a [[Shield Repair]] is bought)</small> |- |'''When leaving''' *''"Keep yourself safe!"'' *''"See you around!"'' *''"Maybe next time!"'' <small>(if nothing is bought)</small> *''"C-careful out there!"'' <small>(when the player is under the effect of [[Star Power]])</small> *''"Show 'em who's boss!"'' <small>(when the player is under the effect of [[Star Power]])</small> |} == Trivia == * Pre-release, Jack was named "Chip", though this was changed in version 220317. Jack's expression files are still found using this name. * Before update 1.3, Jack would only show up if the player could afford at least four [[Apple|Apples]], generally as a consequence of the player deliberately saving up. This was removed because of players generally having lots of coins late game, and Jack would only show up most of the time. * Jack is always the first shopkeeper to appear in the [[Tutorial Level]]. [[Category:Shopkeepers]] a7597f7b7b41b5708bc7c789507fe1e046a3b515 Piggy Bank 0 202 253 252 2022-10-18T18:28:12Z Retroded4 81697 wikitext text/x-wiki {{Upgrade |image1=Upgrades23.png |description=Jump to gain 1 coin |unlock_condition=Earn 10 rubies from the piggy bank in one game }} The '''Piggy Bank''' is an [[:category:Upgrades|Upgrade]], attainable through pre-equipping or selection in [[Shops]], as long as the player has a upgrade slot available. ==Effects== ===Primary=== *Produces a [[Coins|Coin]] when jumping, bouncing off objects, or enemies. ===Additional=== *Jumping in mid-air will sometimes produce 1 [[Rubies|Ruby]] instead of 1 coin, with certain probabilities: **20% if the [[Ruby Wand]] is active; otherwise **10% if [[Treasure Tracker]] is equipped; otherwise **5% *Nothing will be produced if jumping in a previously traveled location, e.g. traveling backwards through a portal. [[Category:Upgrades]] 8f99c2be15e4fb37a8e9aa6a4e5e1df69770c488 MediaWiki:Mainpage 8 40 335 51 2022-10-24T16:50:42Z Pcj 1919 wikitext text/x-wiki Chiki Wiki 5974fe563dc00bc3823c4a76a746faf6ea660687 Chiki Wiki 0 28 336 38 2022-10-24T16:50:49Z Pcj 1919 wikitext text/x-wiki <mainpage-leftcolumn-start /> <div style="text-align: center; font-size: x-large; padding: 1em;">'''Welcome to the {{SITENAME}}!'''</div> Game information database for the video game Chiki's Chase. We're a collaborative community website about {{topic}} that anyone, including you, can build and expand. Wikis like this one depend on readers getting involved and adding content. Click the "ADD NEW PAGE" or "EDIT" button at the top of any page to get started! <mainpage-endcolumn /> <mainpage-rightcolumn-start /> ''Need help building out this community?'' *[[Project:Wiki rules|Rules of this wiki]] *[[w:c:community:Help:Getting Started|Getting Started]] *[[w:c:community:Help:Contributing|How to Contribute]] *[[w:c:community:Help:Community Management|Managing your new community]] *[[w:c:community:Help:Contents|Guides]] *[[w:c:community:Help:Index|All Help articles]] You can also be part of the larger Fandom family of communities. Visit [[w:c:community|Fandom's Community Central]]! ''Community Founders'': Write a good and paragraph-length description for your welcome section about your topic. Let your readers know what your topic is about and add some general information about it. Then you should visit [[Special:AdminDashboard|the admin dashboard for more tips]]. <mainpage-endcolumn /> [[Category:{{SITENAME}}]] __NOTITLE__ 862b8c3c04c1e9f86bffdcedcd1ec8c7d97564ed MediaWiki:Copyright 8 261 339 2022-11-01T13:47:23Z Westgrass 40 Created page with "<div>Pages that were created prior to October 2022 are from the Fandom Chiki Wiki.<br/><img src=https://commons.wiki.gg/images/f/ff/CC-BY-SA.svg> Page content is under the <a href=https://creativecommons.org/licenses/by-sa/3.0>Creative Commons Attribution-ShareAlike 3.0 License</a> unless otherwise noted.</div>" wikitext text/x-wiki <div>Pages that were created prior to October 2022 are from the Fandom Chiki Wiki.<br/><img src=https://commons.wiki.gg/images/f/ff/CC-BY-SA.svg> Page content is under the <a href=https://creativecommons.org/licenses/by-sa/3.0>Creative Commons Attribution-ShareAlike 3.0 License</a> unless otherwise noted.</div> 149b9960a4ac094d7d249b295c2f54fd6ce14542 Category:Chiki Wiki 14 262 340 2022-11-01T13:48:02Z Westgrass 40 Created page with " This is the root category for everything on The {{SITENAME}}." wikitext text/x-wiki This is the root category for everything on The {{SITENAME}}. c38d41dda1be98cfa65ebaaa59550f3e282052b7 File:Site-background.png 6 263 341 2022-11-01T13:51:19Z Westgrass 40 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 MediaWiki:Common.css 8 264 342 2022-11-08T02:18:25Z Westgrass 40 Created page with "/*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6..." css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #050100 url(/images/8/80/Site-background.jpg) top center / cover no-repeat fixed; --theme-site-background2: #050100 url(/images/8/80/Site-background.jpg) top center / cover no-repeat fixed; --theme-site-background3: #050100 url(/images/8/80/Site-background.jpg) top center / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 627px; --theme-site-logo-height: 140px; /* sidebar/content common */ --theme-box-border-width: 2px; --theme-box-border-color: #012e59; --theme-box-background: none; --theme-box-border-style: solid; --theme-box-shadow: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,0.9); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: #fff; --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: var(--theme-heading-color); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(168, 203, 226, 0.73); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #B5D3E5; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #B5D3E5; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,0.9); --theme-content-border-width: 0px; --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: rgba(181, 211, 229, 0.7); --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 44px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Terracotta_Wiki.action-view h1.firstHeading, body.rootpage-Terracotta_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Terracotta_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 83353925e06b8bb330b4c1c5845294b6e65c78f5 343 342 2022-11-08T02:20:15Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / cover no-repeat fixed; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / cover no-repeat fixed; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 627px; --theme-site-logo-height: 140px; /* sidebar/content common */ --theme-box-border-width: 2px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,0.9); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: #fff; --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: var(--theme-heading-color); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(168, 203, 226, 0.73); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #f3dccc; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,0.9); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: rgba(181, 211, 229, 0.7); --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 44px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Terracotta_Wiki.action-view h1.firstHeading, body.rootpage-Terracotta_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Terracotta_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 020a85795b5038b021d4e871f48bf6fe2b2522ae 344 343 2022-11-08T02:21:12Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 627px; --theme-site-logo-height: 140px; /* sidebar/content common */ --theme-box-border-width: 2px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,0.9); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: #fff; --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: var(--theme-heading-color); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(168, 203, 226, 0.73); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #f3dccc; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,0.9); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: rgba(181, 211, 229, 0.7); --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 44px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Terracotta_Wiki.action-view h1.firstHeading, body.rootpage-Terracotta_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Terracotta_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 2c082ec4ca9e9fe5b36c028959489bdcfbc0c73d 345 344 2022-11-08T02:23:13Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 627px; --theme-site-logo-height: 140px; /* sidebar/content common */ --theme-box-border-width: 2px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: #fff; --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: var(--theme-heading-color); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(168, 203, 226, 0.73); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #f3dccc; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: rgba(181, 211, 229, 0.7); --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 44px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Terracotta_Wiki.action-view h1.firstHeading, body.rootpage-Terracotta_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Terracotta_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } e7de78520c759ee5dafe6be74365f3c3b14644f6 348 345 2022-11-08T02:43:16Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 2px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: #fff; --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: var(--theme-heading-color); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(168, 203, 226, 0.73); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #f3dccc; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: rgba(181, 211, 229, 0.7); --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 44px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Terracotta_Wiki.action-view h1.firstHeading, body.rootpage-Terracotta_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Terracotta_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } b70f4cb8789de27cfe9973cd5705fdb48f17fda5 349 348 2022-11-08T02:47:46Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(168, 203, 226, 0.73); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #f3dccc; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 44px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Terracotta_Wiki.action-view h1.firstHeading, body.rootpage-Terracotta_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Terracotta_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 807bd03491839b918e19374f6682056c01d3e871 350 349 2022-11-08T02:48:39Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: none; --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #f3dccc; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 44px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Terracotta_Wiki.action-view h1.firstHeading, body.rootpage-Terracotta_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Terracotta_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 4a8285312732c9b3beb8484006cf0ba59a370a6a File:Site-logo.png 6 54 346 69 2022-11-08T02:41:55Z Westgrass 40 Westgrass uploaded a new version of [[File:Site-logo.png]] wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 347 346 2022-11-08T02:42:38Z Westgrass 40 Westgrass uploaded a new version of [[File:Site-logo.png]] wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 MediaWiki:Common.js 8 265 351 2022-11-08T02:51:03Z Westgrass 40 Created page with "/** * For language wikis, use * <code> mw.loader.load("https://chiki.wiki.gg/load.php?lang=en&modules=site&only=scripts&skin=vector"); </code> * as the content of common.js to import from this script. * */ /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /*! floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ !function(t,i){"object"==typeof exports&&"undefined"!=typ..." javascript text/javascript /** * For language wikis, use * <code> mw.loader.load("https://chiki.wiki.gg/load.php?lang=en&modules=site&only=scripts&skin=vector"); </code> * as the content of common.js to import from this script. * */ /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /*! floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ !function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],i):i((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";var i="horizontal",n="vertical",e={init:function(t,n){var e=this;e.orientationProps=function(t){var n=t===i;return{ORIENTATION:t,SIZE:n?"width":"height",X_SIZE:n?"height":"width",OFFSET_SIZE:n?"offsetWidth":"offsetHeight",OFFSET_X_SIZE:n?"offsetHeight":"offsetWidth",CLIENT_SIZE:n?"clientWidth":"clientHeight",CLIENT_X_SIZE:n?"clientHeight":"clientWidth",INNER_X_SIZE:n?"innerHeight":"innerWidth",SCROLL_SIZE:n?"scrollWidth":"scrollHeight",SCROLL_POS:n?"scrollLeft":"scrollTop",START:n?"left":"top",X_START:n?"top":"left",X_END:n?"bottom":"right"}}(n);var o=t.closest(".fl-scrolls-body");o.length&&(e.scrollBody=o),e.container=t[0],e.visible=!0,e.initWidget(),e.updateAPI(),e.addEventHandlers(),e.skipSyncContainer=e.skipSyncWidget=!1},initWidget:function(){var i=this,n=i.orientationProps,e=n.ORIENTATION,o=n.SIZE,r=n.SCROLL_SIZE,c=i.widget=t('<div class="fl-scrolls" data-orientation="'+e+'"></div>');t("<div></div>").appendTo(c)[o](i.container[r]),c.appendTo(i.container)},addEventHandlers:function(){var i=this;(i.eventHandlers=[{$el:t(window),handlers:{"destroyDetached.fscroll":function(t){"fscroll"===t.namespace&&i.destroyDetachedAPI()}}},{$el:i.scrollBody||t(window),handlers:{scroll:function(){i.updateAPI()},resize:function(){i.updateAPI()}}},{$el:i.widget,handlers:{scroll:function(){i.visible&&!i.skipSyncContainer&&i.syncContainer(),i.skipSyncContainer=!1}}},{$el:t(i.container),handlers:{scroll:function(){i.skipSyncWidget||i.syncWidget(),i.skipSyncWidget=!1},focusin:function(){setTimeout((function(){i.widget&&i.syncWidget()}),0)},"update.fscroll":function(t){"fscroll"===t.namespace&&i.updateAPI()},"destroy.fscroll":function(t){"fscroll"===t.namespace&&i.destroyAPI()}}}]).forEach((function(t){var i=t.$el,n=t.handlers;return i.bind(n)}))},checkVisibility:function(){var t=this,i=t.widget,n=t.container,e=t.scrollBody,o=t.orientationProps,r=o.SCROLL_SIZE,c=o.OFFSET_SIZE,l=o.X_START,s=o.X_END,d=o.INNER_X_SIZE,a=o.CLIENT_X_SIZE,f=i[0][r]<=i[0][c];if(!f){var h=n.getBoundingClientRect(),u=e?e[0].getBoundingClientRect()[s]:window[d]||document.documentElement[a];f=h[s]<=u||h[l]>u}t.visible===f&&(t.visible=!f,i.toggleClass("fl-scrolls-hidden"))},syncContainer:function(){var t=this,i=t.orientationProps.SCROLL_POS,n=t.widget[0][i];t.container[i]!==n&&(t.skipSyncWidget=!0,t.container[i]=n)},syncWidget:function(){var t=this,i=t.orientationProps.SCROLL_POS,n=t.container[i];t.widget[0][i]!==n&&(t.skipSyncContainer=!0,t.widget[0][i]=n)},updateAPI:function(){var i=this,n=i.orientationProps,e=n.SIZE,o=n.X_SIZE,r=n.OFFSET_X_SIZE,c=n.CLIENT_SIZE,l=n.CLIENT_X_SIZE,s=n.SCROLL_SIZE,d=n.START,a=i.widget,f=i.container,h=i.scrollBody,u=f[c],S=f[s];a[e](u),h||a.css(d,f.getBoundingClientRect()[d]+"px"),t("div",a)[e](S),S>u&&a[o](a[0][r]-a[0][l]+1),i.syncWidget(),i.checkVisibility()},destroyAPI:function(){var t=this;t.eventHandlers.forEach((function(t){var i=t.$el,n=t.handlers;return i.unbind(n)})),t.widget.remove(),t.eventHandlers=t.widget=t.container=t.scrollBody=null},destroyDetachedAPI:function(){t.contains(document.body,this.container)||this.destroyAPI()}};t.fn.floatingScroll=function(o,r){if(void 0===o&&(o="init"),void 0===r&&(r={}),"init"===o){var c=r.orientation,l=void 0===c?i:c;if(l!==i&&l!==n)throw new Error("Scrollbar orientation should be either “horizontal” or “vertical”");this.each((function(i,n){return Object.create(e).init(t(n),l)}))}else Object.prototype.hasOwnProperty.call(e,o+"API")&&this.trigger(o+".fscroll");return this},t((function(){t("body [data-fl-scrolls]").each((function(i,n){var e=t(n);e.floatingScroll("init",e.data("flScrolls")||{})}))}))})); /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * common Utilities */ var util = (function(){ var exports = { /* common l10n factory */ l10nFactory: function($lang, $data) { return function ($key) { return $data[$key] && ($data[$key][$lang] || $data[$key]['en']) || ''; }; } }; function throttle(t, e, o, n) { var r, i = !1, u = 0; function c() { r && clearTimeout(r) } function a() { for (var a = arguments.length, d = new Array(a), l = 0; l < a; l++) d[l] = arguments[l]; var f = this, v = Date.now() - u; function p() { u = Date.now(), o.apply(f, d) } function h() { r = void 0 } i || (n && !r && p(), c(), void 0 === n && v > t ? p() : !0 !== e && (r = setTimeout(n ? h : p, void 0 === n ? t - v : t))) } return "boolean" != typeof e && (n = o, o = e, e = void 0), a.cancel = function() { c(), i = !0 }, a } function debounce(t, e, o) { return void 0 === o ? throttle(t, e, !1) : throttle(t, o, !1 !== e) } exports.debounce = debounce; exports.throttle = throttle; return exports; })(); /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * Handle wide tables * * Display a horizontal floating scroll bar when the table width exceeds the page width. */ $(function() { var TABLE_WIDE_CLASS = "table-wide"; var TABLE_WIDE_INNER_CLASS = "table-wide-inner"; var handleWideTables = function(tables) { var handler = util.debounce(100, (function() { if(!tables){ return; } tables.forEach(function(table) { var $table = $(table); if(!$table.data('container')){ $table.data('container', table.parentNode); } var container = $table.data('container'); if(!container){ return; } var $innerBox = $table.parent(); var $outerBox = $innerBox.parent(); var overwide = table.getBoundingClientRect().width > container.getBoundingClientRect().width; if($outerBox.hasClass(TABLE_WIDE_CLASS)){ if(overwide){ $innerBox.floatingScroll("update"); }else{ $outerBox.before($table).remove(); } }else{ if(overwide) { $('<div/>').addClass(TABLE_WIDE_INNER_CLASS).appendTo( $('<div/>').addClass(TABLE_WIDE_CLASS).insertBefore($table) ).append($table).floatingScroll("init").floatingScroll("update"); } } }); })); handler(); window.addEventListener("resize", handler); }; var isEditorActive = function() { var e = new URLSearchParams(window.location.search); return "edit" === e.get("action") || "submit" === e.get("action") || ("edit" === e.get("veaction") || "submit" === e.get("veaction") || "editsource" === e.get("veaction")); } mw.hook("wikipage.content").add(function() { if (!isEditorActive()) { var el = document.querySelector("#bodyContent"); if (el) { handleWideTables(el.querySelectorAll("table")); } } }); }); /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * Make sidebar sections collapsible */ $(function(){ $panel = $('#mw-panel'); $("#mw-panel .portal").each(function(index, el){ var $el = $(el); var $id = $el.attr("id"); if(!$id){ return; } // for < 1366px $el.removeClass('expanded'); // for >= 1366px if(localStorage.getItem('sidebar_c_'+$id) === "y"){ $el.addClass('collapsed').find('.body').slideUp(0); } }); $("#mw-panel .portal").on("click", "h3", function(event){ var $el = $(this).parent(); var $id = $el.attr("id"); if(!$id){ return; } event.stopPropagation(); if($panel.width() < 200){ $el.toggleClass('collapsed'); if($el.hasClass('collapsed')){ // more consistent between class and slide status. localStorage.setItem('sidebar_c_'+$id, "y"); $el.find('.body').slideUp('fast'); } else{ localStorage.setItem('sidebar_c_'+$id, "n"); $el.find('.body').slideDown('fast'); } } else{ $("#mw-panel .portal").not($el).removeClass('expanded'); $el.toggleClass('expanded'); } }); }); /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * image size fix for <gallery> */ $(function(){ $(".mw-gallery-traditional .thumb").each(function(){ var $this = $(this); /* $this.css('display', 'flex'); // do this in common.css: .mw-gallery-traditional .thumb{ display: flex; } */ $this.css('height', $this.height()+'px').find('>div').css('margin', 'auto'); var $img = $this.find('img').first(); if(!$img.length){ return; } var $width = $img.attr('width') - 0; //cast to number. var $filewidth = $img.attr('data-file-width') - 0; if($filewidth < $width){ var $fileheight = $img.attr('data-file-height'); if( $filewidth * 2 > $width){ $img.attr({'width': $filewidth, 'height': $fileheight}); }else{ $img.attr({'width': $filewidth*2, 'height': $fileheight*2}); } } }); }); /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * login status mark */ $(function(){ if(mw.config.get("wgUserName") !== null){ $('body').addClass('logged-in'); } }); /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * Content box customization */ $(function() { /* Disable triggering of new browser tab when clicking URL links that point to internal wiki addresses (purge, edit, etc) */ $('a[href^="//chiki.wiki.gg/"]').removeAttr('target'); /* Hyperlink required modules in Module namespace */ // Author: RheingoldRiver if (mw.config.get('wgCanonicalNamespace') === 'Module') { $('.s1, .s2').each(function () { var html = $(this).html(); // the module name is surrounded by quotes, so we have to remove them var quote = html[0]; var quoteRE = new RegExp('^' + quote + '|' + quote + '$', 'g'); var name = html.replace(quoteRE, ""); // remove quotes // link the module name if (name.startsWith("Module:")) { var target = encodeURIComponent(name); var url = mw.config.get('wgServer') + mw.config.get('wgScript') + '?title=' + target; $(this).html(quote + '<a href="' + url + '">' + name + '</a>' + quote); } }); } }); b740cd771b8b900d309b409ba9be49b00e7d3881 MediaWiki:Sidebar 8 266 352 2022-11-08T02:56:38Z Westgrass 40 Created page with " * navigation ** mainpage|mainpage-description ** recentchanges-url|recentchanges ** randompage-url|randompage * Portals ** https://www.chikischase.com/ | Official website ** https://apps.apple.com/us/app/chikis-chase/id1498398104 | CC for iOS ** https://play.google.com/store/apps/details?id=com.dvdfu.chicken2&hl=en&gl=US&pli=1 | CC for Android ** https://twitter.com/ChikisChase | CC on Twitter ** https://discord.com/invite/jQUh6m7nCt | CC on Discord * SEARCH * TOOLBOX *..." wikitext text/x-wiki * navigation ** mainpage|mainpage-description ** recentchanges-url|recentchanges ** randompage-url|randompage * Portals ** https://www.chikischase.com/ | Official website ** https://apps.apple.com/us/app/chikis-chase/id1498398104 | CC for iOS ** https://play.google.com/store/apps/details?id=com.dvdfu.chicken2&hl=en&gl=US&pli=1 | CC for Android ** https://twitter.com/ChikisChase | CC on Twitter ** https://discord.com/invite/jQUh6m7nCt | CC on Discord * SEARCH * TOOLBOX * LANGUAGES 46ad59323d2a0f8ac51a135b714dbbc99f242dc2 MediaWiki:Common.css 8 264 353 350 2022-11-08T02:59:40Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.8); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #f3dccc; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 44px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Terracotta_Wiki.action-view h1.firstHeading, body.rootpage-Terracotta_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Terracotta_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 7b1b27b8a150832478e7ea5a83ef39a89743da56 354 353 2022-11-08T03:01:14Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #f3dccc; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 44px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Terracotta_Wiki.action-view h1.firstHeading, body.rootpage-Terracotta_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Terracotta_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } a895c15389d1120a80b2c5a88b1cfcb1ca798cf2 355 354 2022-11-08T03:13:15Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #f3dccc; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 44px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Terracotta_Wiki.action-view h1.firstHeading, body.rootpage-Terracotta_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Terracotta_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 69d23b8d2190c98faf564dc50df1a75900c44ffd 356 355 2022-11-08T03:15:30Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #f3dccc; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 44px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Terracotta_Wiki.action-view h1.firstHeading, body.rootpage-Terracotta_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Terracotta_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } d2a234de029ec537f73f3f53e235540a89b9f315 357 356 2022-11-08T03:17:29Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #f3dccc; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Terracotta_Wiki.action-view h1.firstHeading, body.rootpage-Terracotta_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Terracotta_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 4bb34b4ac7033c5a7ca3f104928ef0ce13283981 359 357 2022-11-08T03:24:00Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Terracotta_Wiki.action-view h1.firstHeading, body.rootpage-Terracotta_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Terracotta_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } bf4262d23cb3230ae07f7e120ba77f050e335113 360 359 2022-11-09T01:46:20Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } f3148b592a1ce19868c20c8a87f9774138c5f848 361 360 2022-11-09T01:51:06Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap { display: flex; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .left { flex: 3 3 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .right { flex: 1 1 auto; max-width: 350px; min-width: 220px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } ae3e32f2cd2d4bcc8d10fba12b881fd61470b99e 362 361 2022-11-09T01:52:00Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap { display: flex; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .left { flex: 3 3 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .right { flex: 1 1 auto; max-width: 350px; min-width: 220px; border: 1px solid var(--theme-border-color); padding: 0.75em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 11964aaa9ac2400403dc06d733a9c41e8239a234 363 362 2022-11-09T01:53:41Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap { display: flex; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .left { flex: 3 3 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .right { flex: 1 1 auto; max-width: 350px; min-width: 220px; border: 1px solid #999; border-radius: 5px; padding: 0.75em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 2e865a1c9749dcb8267b967c35909ef6a8a717a3 364 363 2022-11-09T01:53:58Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap { display: flex; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .left { flex: 3 3 auto; min-width: 600px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .right { flex: 1 1 auto; max-width: 350px; min-width: 220px; border: 1px solid #999; border-radius: 5px; padding: 0.75em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 1152649ad7a28e0b49a9417245e5e7907f5c7b27 365 364 2022-11-09T01:54:06Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap { display: flex; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .left { flex: 3 3 auto; min-width: 600px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .right { flex: 1 1 auto; max-width: 350px; min-width: 220px; border: 1px solid #ccc; border-radius: 5px; padding: 0.75em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 1316a82a578c21ac6e5503985c68a3425d31d2d9 366 365 2022-11-09T01:54:53Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap { display: flex; flex-wrap: wrap; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .left { flex: 3 3 auto; min-width: 600px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .right { flex: 1 1 auto; max-width: 350px; min-width: 220px; border: 1px solid #ccc; border-radius: 5px; padding: 0.75em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 9f629264be4a8ce7255cf856589992cf151b8f53 367 366 2022-11-09T01:55:37Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap { display: flex; flex-wrap: wrap; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .left { flex: 3 3 auto; min-width: 600px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .right { flex: 1 1 auto; min-width: 220px; border: 1px solid #ccc; border-radius: 5px; padding: 0.75em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } b9d814a37ef2cda6937f0b23fa46269cbe4b08fe 368 367 2022-11-09T01:55:49Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap { display: flex; flex-wrap: wrap; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .left { flex: 3 3 auto; min-width: 600px; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .right { flex: 1 1 auto; min-width: 220px; border: 1px solid #ccc; border-radius: 5px; padding: 0.75em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } c226ccabdafdbc2574f03aed4d796be6975b8e13 369 368 2022-11-09T01:56:20Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap { display: flex; flex-wrap: wrap; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .left { flex: 3 3 600px; min-width: 600px; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .right { flex: 1 1 300px; min-width: 220px; border: 1px solid #ccc; border-radius: 5px; padding: 0.75em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 865380c3a994c74759f3d631ab3c92836f70f590 370 369 2022-11-09T01:57:00Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap { display: flex; flex-wrap: wrap; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .left { flex: 3 3 900px; min-width: 600px; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .right { flex: 1 1 300px; min-width: 220px; border: 1px solid #ccc; border-radius: 5px; padding: 0.75em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } b7000d2e4c2a7c4c06f8142a6d0a627638ab455d 371 370 2022-11-09T01:57:27Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap { display: flex; flex-wrap: wrap; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .left { flex: 3 3 900px; min-width: 500px; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .right { flex: 1 1 300px; min-width: 200px; border: 1px solid #ccc; border-radius: 5px; padding: 0.75em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 5372830236bd66a0f3f68f6da0c3ed133e9b7076 372 371 2022-11-09T01:59:32Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown h3, .vector-menu-dropdown h3 span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown h3:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown h3 { padding: 0; margin: 0; } .vector-menu-dropdown h3::after { display: none; } .vector-menu-dropdown h3 span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal h3::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown h3 span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown h3 span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap { display: flex; flex-wrap: wrap; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .left { flex: 5 5 500px; min-width: 400px; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .right { flex: 1 1 240px; min-width: 200px; border: 1px solid #ccc; border-radius: 5px; padding: 0.75em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 59236d8b688e0c67095f687e6f7cd0cf02de5c1a Chiki Wiki 0 28 358 336 2022-11-08T03:18:29Z Westgrass 40 wikitext text/x-wiki <div class="wrap"> <div class="left"> <div style="text-align: center; font-size: x-large; padding: 1em;">'''Welcome to the {{SITENAME}}!'''</div> Game information database for the video game Chiki's Chase. We're a collaborative community website about {{topic}} that anyone, including you, can build and expand. Wikis like this one depend on readers getting involved and adding content. Click the "ADD NEW PAGE" or "EDIT" button at the top of any page to get started! </div> <div class="right"> ''Need help building out this community?'' *[[Project:Wiki rules|Rules of this wiki]] *[[w:c:community:Help:Getting Started|Getting Started]] *[[w:c:community:Help:Contributing|How to Contribute]] *[[w:c:community:Help:Community Management|Managing your new community]] *[[w:c:community:Help:Contents|Guides]] *[[w:c:community:Help:Index|All Help articles]] You can also be part of the larger Fandom family of communities. Visit [[w:c:community|Fandom's Community Central]]! ''Community Founders'': Write a good and paragraph-length description for your welcome section about your topic. Let your readers know what your topic is about and add some general information about it. Then you should visit [[Special:AdminDashboard|the admin dashboard for more tips]]. </div></div> [[Category:{{SITENAME}}]] __NOTITLE__ e72b15b29c350cecc055359e45ddff59d5952b09 400 358 2022-11-11T13:03:21Z Pcj 1919 wikitext text/x-wiki <div class="wrap"> <div class="left"> <div style="text-align: center; font-size: x-large; padding: 1em;">'''Welcome to the {{SITENAME}}!'''</div> Game information database for the video game Chiki's Chase. We're a collaborative community website about {{topic}} that anyone, including you, can build and expand. Wikis like this one depend on readers getting involved and adding content. Click the "ADD NEW PAGE" or "EDIT" button at the top of any page to get started! </div> <div class="right"> ''Community Founders'': Write a good and paragraph-length description for your welcome section about your topic. Let your readers know what your topic is about and add some general information about it. Then you should visit [[Special:AdminDashboard|the admin dashboard for more tips]]. </div></div> [[Category:{{SITENAME}}]] __NOTITLE__ 74a887fbda2717f070929984a578ad206706874c 401 400 2022-11-11T13:03:30Z Pcj 1919 wikitext text/x-wiki <div class="wrap"> <div class="left"> <div style="text-align: center; font-size: x-large; padding: 1em;">'''Welcome to the {{SITENAME}}!'''</div> Game information database for the video game Chiki's Chase. We're a collaborative community website about {{topic}} that anyone, including you, can build and expand. Wikis like this one depend on readers getting involved and adding content. Click the "ADD NEW PAGE" or "EDIT" button at the top of any page to get started! </div> <div class="right"> ''Community Founders'': Write a good and paragraph-length description for your welcome section about your topic. Let your readers know what your topic is about and add some general information about it. </div></div> [[Category:{{SITENAME}}]] __NOTITLE__ 5e04120f296b1e3e92e636acc8d677ee8d76ba8d File:Blast Boots.png 6 278 385 2022-11-08T16:50:14Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Blast Boots 0 288 398 2022-11-08T16:54:53Z Retroded4 81697 wikitext text/x-wiki {{Upgrade |image1=Blast Boots.png |description=Bouncing off enemies and objects triggers a huge blast |unlock_condition=Defeat 20 enemies using blasts in one game }}The '''Blast Boots''' are an [[:category:Upgrades|Upgrade]], attainable through pre-equipping or selection in [[Shops]], as long as the player has a upgrade slot available. ==Effects== ===Primary=== *Produces a large explosion when bouncing off objects or enemies. *This explosion collects [[Coins]] and damages enemies within the area. *The explosion launches the player slightly higher than they normally would by jumping. {{Upgrades}} [[Category:Upgrades]] 60ca53d7015ce5a68752bbf968bfffab3a7edd8f File:Pocket Cloud.png 6 267 373 2022-11-08T17:06:21Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Toy Rocket.png 6 268 374 2022-11-08T17:06:21Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Wooden Shield.png 6 271 378 2022-11-08T17:06:21Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Nimble Feather.png 6 272 379 2022-11-08T17:06:21Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Party Popper.png 6 273 380 2022-11-08T17:06:21Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Lucky Magnet.png 6 274 381 2022-11-08T17:06:21Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Mighty Shears.png 6 275 382 2022-11-08T17:06:21Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Reusable Bag.png 6 277 384 2022-11-08T17:06:21Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Fastball.png 6 281 390 2022-11-08T17:06:21Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Phoenix Candle.png 6 282 391 2022-11-08T17:06:21Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Treasure Tracker.png 6 283 392 2022-11-08T17:06:21Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Star Dust.png 6 284 393 2022-11-08T17:06:21Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Sparkling Sapphire.png 6 285 395 2022-11-08T17:06:21Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Yellow Balloon.png 6 286 396 2022-11-08T17:06:21Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Golden Apple.png 6 287 397 2022-11-08T17:06:21Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Traveller's Map.png 6 269 376 2022-11-08T17:10:50Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Apple Seeds.png 6 270 377 2022-11-08T17:13:33Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Piggy Bank.png 6 276 383 2022-11-08T17:14:19Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Shroom Charm.png 6 279 386 2022-11-08T17:15:04Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Money Bag.png 6 280 388 2022-11-08T17:15:24Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Trusty Pickaxe.png 6 289 399 2022-11-08T17:15:37Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Piggy Bank 0 202 394 253 2022-11-08T17:31:48Z Retroded4 81697 wikitext text/x-wiki {{Upgrade |image1=Upgrades23.png |description=Jump to gain 1 coin |unlock_condition=Earn 10 rubies from the piggy bank in one game }} The '''Piggy Bank''' is an [[:category:Upgrades|Upgrade]], attainable through pre-equipping or selection in [[Shops]], as long as the player has a upgrade slot available. ==Effects== ===Primary=== *Produces a [[Coins|Coin]] when jumping, bouncing off objects, or enemies. ===Additional=== *Jumping in mid-air will sometimes produce 1 [[Rubies|Ruby]] instead of 1 coin, with certain probabilities: **20% if the [[Ruby Wand]] is active; otherwise **10% if [[Treasure Tracker]] is equipped; otherwise **5% *Nothing will be produced if jumping in a previously traveled location, e.g. traveling backwards through a portal. {{Upgrades}} [[Category:Upgrades]] 7cb60153a3eb818af861bdd6cd12ccf7aab53a31 Shroom Charm 0 20 375 28 2022-11-08T17:36:45Z Retroded4 81697 wikitext text/x-wiki {{Upgrade |image1=Upgrades8.png |description=Jump on mushrooms to receive coins or stars |unlock_condition=Receive goods from 25 mushrooms in one game }} The '''Shroom Charm''' is an [[:category:Upgrades|Upgrade]], attainable through pre-equipping or selection in [[Shops]], as long as the player has a upgrade slot available. == Effects == ===Primary=== * 30% of mushrooms will contain 10 coins, and the other 70% contain 1 star. The contents are rewarded when the player jumps on the mushroom. === Additional=== * No mushrooms will be spiky. * When Treasure Tracker is equipped, 60% of mushrooms contain 10 coins, and the other 40% contain 1 star. * The quantity of coins dropped is affected by [[Money Bag]]. * Enemies jumping on the mushroom will not release its contents. {{Upgrades}} [[Category:Upgrades]] 8ccdb668f73d0b3c6a29351d497f45b9c13a700e Trusty Pickaxe 0 184 389 226 2022-11-08T17:37:21Z Retroded4 81697 wikitext text/x-wiki {{Upgrade |image1=Upgrades16.png |type=[[:category:Upgrades|Upgrade]] |description="Some dirt blocks contain coins" |unlock_condition=Destroy 40 coin-filled dirt blocks in one game }} The '''Trusty Pickaxe''' is an [[:category:Upgrades|Upgrade]], attainable through pre-equipping or selection in [[Shops]], as long as the player has a upgrade slot available. ==Effects== ===Primary=== *25% of dirt blocks will contain 8 coins. *The quantity of the coins received is affected by [[Money Bag]]. ===Additional=== *''No additional effects.'' {{Upgrades}} [[Category:Upgrades]] a50791083abec54397690c08bf37cd345f7988f6 Money Bag 0 160 387 197 2022-11-08T17:37:41Z Retroded4 81697 wikitext text/x-wiki {{Upgrade |image1=Upgrades2.png |description=Enemies and objects drop additional coins |unlock_condition=Have 1500 total coins in one game }} The '''Money Bag''' is an [[:category:Upgrades|Upgrade]], attainable through pre-equipping or selection in [[Shops]], as long as the player has a upgrade slot available. == Effects == ===Primary=== * With the upgrade equipped, enemies and objects will drop more coins; the amount of additional coins varies depending on the original coin value. {| class="fandom-table" !Original Coin Value !Additional Coins |- |1-2 |1 |- |3-6 |2 |- |7-10 |3 |- |11-25 |5 |- |26-50 |10 |- |51 or more |20 |} ===Additional=== *Midas Wand coin return value is affected. *[[Piggy Bank]] coin drops are '''not''' affected. {{upgrades}} [[Category:Upgrades]] 886fd1772004d6d95b3a4fc5d99baf56be730ce9 Distance 0 5 402 11 2022-11-28T14:09:42Z Retroded4 81697 wikitext text/x-wiki {{spoiler}} '''Distance''' is a stat, measured in meters, and major determiner of overall score. Physical distance is measured by the players <math display="inline">x</math>position, whereas total difference (shown in game) includes the sum of the players <math>x</math>position and [[Travel Stamp|Travel Stamps]], [[Shops]] and [[Home]] are located at pre-defined physical distance values. The shops for each level are located at the following distances. Shops will spawn ±50m from their distances. {| class="fandom-table" !'''Level (<math>n</math>)''' |1 |2 |3 |4 |5 |6 |7 |8 |9 |10 ([[Home]]) |11 |12 |13 |14 |<math>14<n</math> |- !'''Shop distance''' '''(m)''' |100 |350 |650 |1000 |1500 |2000 |2550 |3200 |3900 |4650 |5500 |6400 |7400 |8400 |<math>50n^2 - 350n - 3500</math> |} == Trivia == * At a distance of around 41000m, "the game starts to deal with numbers that are too large for Unity's physics engine to safely handle" and levels are no longer able to be generated.<ref>https://discord.com/channels/851225811197100032/855117629031579688/1046594795537190912</ref> == References == [[Category:Game mechanics]] 2d5d2590f594b8b7b5e00fb39f104ffa428cdc34 File:Momo default.png 6 291 405 2022-12-10T11:56:19Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Jack 0 79 403 104 2022-12-10T11:58:25Z Retroded4 81697 wikitext text/x-wiki {{ShopkeeperNav}} {{Shopkeeper |image1=Jack Default.png }} '''Jack''' is one of the four [[:category:Shopkeepers|Shopkeepers]], located in [[Shops]]. Like the other shopkeepers, if the player has an available [[:category:Upgrades|Upgrade]] slot, he will offer the player an uprgade. ==Shop listing== ===Upgrades=== He will offer a selection of 3 upgrades, or 4 if the player has the [[Reusable Bag]] uprgade. He will never offer upgrades the player already has. ===Item shop=== Once the player has chosen a desired upgrade, or if the player has no upgrade slots remaining, he will offer some [[:category:Items|Items]]. {| class="fandom-table" ! style="text-align:center" |'''Item''' | style="text-align:center" |[[File:Items1.png|48x48px|link=Apple]]<br><small>[[Apple]]</small> | style="text-align:center" |[[File:Items10.png|48x48px|link=Star Cider]]<br><small>[[Star Cider]]</small> | style="text-align:center" |[[File:Pumpkin.png|48x48px|link=Pumpkin]]<br><small>[[Pumpkin]]</small> | style="text-align:center" |[[File:Shield Repair.png|48x48px|link=Shield Repair]]<br><small>[[Shield Repair]]</small> |- ! style="text-align:center" |'''Availability''' | style="text-align:center" |<small>Always</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the pumpkin is not being sold.</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>Sold as long as the player has under 3 health points and has enough coins to purchase 4 apples.</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the player has the Wooden Shield equipped, but the shield has been used up.</small> |- !'''Base price''' | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 40 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] <abbr title="Price does not scale.">30</abbr> | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 300 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 100 |} ==Quotes== {| |'''After the tutorial''' * ''"Hey there, welcome to the store! My name's Jack."'' * ''"Thanks for chasing out all the monsters 'round here!"'' * ''"Let me help out any way I can."'' |- |'''When encountered''' *''"Hey, come on in!"'' *''"Hey there!"'' *''"Welcome back!"'' <small>(when encountered after meeting before)</small> *''"Yikes... Hang in there...!"'' <small>(when encountered on one health)</small> |- |'''On the upgrades screen''' *''"There's always too much stuff lying around... ya need one?"'' *''"Take one of these with ya!"'' |- |'''On the item shop screen''' * ''"Lots for sale, so take look!"'' * ''"Lots for sale, so check it out!"'' *''"Fresh foods, come take a look!"'' *''"Lemme help you handle those varmints!"'' *''"Just in time for the harvest."'' *''" 'ppreciate it!"'' <small>(when an [[Apple]] is bought)</small> *''"Why, thank you!"'' <small>(when an [[Apple]] is bought)</small> *''"Refreshing, huh?"'' <small>(when a [[Star Cider]] is bought)</small> *''"Nothin' else like it."'' <small>(when a [[Star Cider]] is bought)</small> *''"Family recipe! Hope you like it."'' <small>(when a [[Star Cider]] is bought)</small> *''"Woah, you're glowing!!"'' <small>(when a [[Star Cider]] is bought and it initializes the [[Star Power]] effect)</small> *''"Look at you glow!!"'' <small>(when a [[Star Cider]] is bought and it initializes the [[Star Power]] effect)</small> *''"I'll have this planted up ahead."'' <small>(when a [[Pumpkin]] is bought)</small> *''"There, good as new!"'' <small>(when a [[Shield Repair]] is bought)</small> |- |'''When leaving''' *''"Keep yourself safe!"'' *''"See you around!"'' *''"Maybe next time!"'' <small>(if nothing is bought)</small> *''"C-careful out there!"'' <small>(when the player is under the effect of [[Star Power]])</small> *''"Show 'em who's boss!"'' <small>(when the player is under the effect of [[Star Power]])</small> |} == Trivia == * Pre-release, Jack was named "Chip", though this was changed in version 220317. Jack's expression files are still found using this name. * Before update 1.3, Jack would only show up if the player could afford at least four [[Apple|Apples]], generally as a consequence of the player deliberately saving up. This was removed because of players generally having lots of coins late game, and Jack would only show up most of the time. * Jack is always the first shopkeeper to appear in the [[Tutorial Level]]. [[Category:Shopkeepers]] f42e2b695f2b6649a93d6dbd094966da6f753244 Momo 0 290 404 2022-12-10T12:45:14Z Retroded4 81697 Created page with "{{ShopkeeperNav}} {{Shopkeeper |image1=Momo default.png }} '''Momo''' is one of the four [[:Category:Shopkeepers|Shopkeepers]], located in [[Shops]]. Like the other shopkeepers, if the player has an available [[:Category:Upgrades|Upgrade]] slot, she will offer the player an uprgade. ==Shop listing== ===Upgrades=== She will offer a selection of 3 upgrades, or 4 if the player has the [[Reusable Bag]] uprgade. She will never offer upgrades the player already has. ===Item sh..." wikitext text/x-wiki {{ShopkeeperNav}} {{Shopkeeper |image1=Momo default.png }} '''Momo''' is one of the four [[:Category:Shopkeepers|Shopkeepers]], located in [[Shops]]. Like the other shopkeepers, if the player has an available [[:Category:Upgrades|Upgrade]] slot, she will offer the player an uprgade. ==Shop listing== ===Upgrades=== She will offer a selection of 3 upgrades, or 4 if the player has the [[Reusable Bag]] uprgade. She will never offer upgrades the player already has. ===Item shop=== Once the player has chosen a desired upgrade, or if the player has no upgrade slots remaining, she will offer some [[:category:Items|Items]]. {| class="fandom-table" ! style="text-align:center" |'''Item''' | style="text-align:center" |[[File:Items1.png|48x48px|link=Apple]]<br><small>[[Apple]]</small> | style="text-align:center" |[[File:Items11.png|48x48px|link=Gacha Capsule]]<br><small>[[Gacha Capsule]]</small> | style="text-align:center" |[[File:Items12.png|48x48px|link=Loot Box]]<br><small>[[Loot Box]]</small> | style="text-align:center" |[[File:Shield Repair.png|48x48px|link=Shield Repair]]<br><small>[[Shield Repair]]</small> |- ! style="text-align:center" |'''Availability''' | style="text-align:center" |<small>Always</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>Randomly instead of the Loot Box unless the player has the maximum amount of upgrades, at which point it is guaranteed.</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>Randomly instead of the Gacha Capsule until the player has the maximum amount of upgrades.</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the player has the Wooden Shield equipped, but the shield has been used up.</small> |- !'''Base price''' | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 40 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 20 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 80 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 100 |} ==Quotes== {| |'''When encountered''' *''"Oh... oh! A customer!!"'' *''"CUE THE SHOP MUSIC!"'' |- |'''On the upgrades screen''' *''"I picked these ones just for you"'' *''"You better like one! I'm not shuffling again."'' |- |'''On the item shop screen''' *''"What'll it be this time?"'' *''"You could buy something fun, or you could waste your money~"'' *''"Try your luck, you got plenty!!"'' *''"You... don't want to gamble?"'' <small>(when an [[Apple]] is bought and a [[Gacha Capsule]] hasn't been bought yet)</small> *''"Where's the fun in that..."'' <small>(when an [[Apple]] is bought)</small> *''"You aren't done yet, are you?'' <small>(when a [[Gacha Capsule]] is bought)</small> *''"Oh, you're all out..."'' <small>(when the player does not have enough money to buy anything)</small> |- |'''On the [[Gacha Capsule]] screen''' *''"That's just... bad luck..."'' <small>(if the player rolls a [[Star Candy]], or [[Toonie]] ''or'' if the player makes a loss)</small> *''"Th-they can't all be amazing..."'' <small>(if the player rolls a [[Star Candy]], or [[Toonie]] ''or'' if the player makes a loss)</small> *''"I'd say that was worth it!!"'' <small>(if the player rolls an [[Apple]], [[Milk Chocobar]], [[Star Cider]], [[Cherry]] or [[Travel Stamp]] ''or'' if the player makes a profit)</small> *''"Aren't you lucky?"'' <small>(if the player rolls an [[Apple]], [[Milk Chocobar]], [[Star Cider]], [[Cherry]] or [[Travel Stamp]] ''or'' if the player makes a profit)</small> *''"THERE'S NO WAY...!!"'' <small>(if the player rolls a [[Hot Pink Bunny Charm]] ''or'' if the player makes a large profit)</small> |- |'''When leaving''' *''"Bring more cash next time!!"'' *''"Come back anytime for more!!"'' *''"Are you... saving up, or something?"'' <small>(if nothing is bought)</small> *''"Thanks for playing!!"'' <small>(if a [[Gacha Capsule]] is bought)</small> |} ==Trivia== *Before update 1.3, Momo had a chance to show up if the players coin count ended in double digits or if the player's upgrade amount was below their level number. This has since been scrapped. [[Category:Shopkeepers]] dc3bde0c771fe0fb16de6a04c6c6b95db3c6df90 Home 0 230 408 300 2022-12-13T17:53:35Z Retroded4 81697 wikitext text/x-wiki {{spoiler}} [[File:Reaching home.png|alt=Ronnie reaching home.|thumb|Reaching '''home'''.|238x238px]] '''Home''' is a location, reached at the end of Level 10, or approximately at a distance of 4650 meters. The location marks the end of what is known as a '''Home Run'''. ==Function== Home functions similarly to a shop, acting as a pause between levels. Upon reaching home, the player will be rewarded with both a time and [[Badges]], the former of which, if faster than previous times, will be uploaded to the leaderboards. Home will also fully replenish the [[Star Power]] timer, similar to [[Shops]]. ===Stay up=== The player can choose to stay up, where the player will enter a bonus level, containing 72 coins (excluding [[Rubies]]), one [[Treasure Chest]] and one [[Star Crystal]]. At the end of this level is a shop, before Level 11 starts. ===Sleep=== The player can alternatively choose to sleep, which will increase the player's health and attack count by 1. This will reset the day and night cycle. The player is prompted immediately into Level 11. ==Related badges== <div style="text-indent:30px; margin-bottom: 10px;">''See related: [[Badges]]''</div> *The [[File:AchievementSleep.png|24px|link=Badges]] [[Badges|Goodnight Badge]] is awarded if the sleep option is chosen. *The [[File:AchievementNight.png|24px|link=Badges]] [[Badges|Moon Badge]] is awarded if the stay up option is chosen. *The [[File:AchievementTeapot.png|24px|link=Badges]] [[Badges|Porcelain Badge]] is awarded if the player reaches home with the [[Teapot]]. *The [[File:AchievementGhost.png|24px|link=Badges]] [[Badges|Ghost Badge]] is awarded if the player reaches home without entering any [[Shops]]. *The unlisted [[File:HardmodeBadge.png|24px|link=Badges]] [[Badges|Hard mode Badge]] is awarded if the player reaches home in [[Hard mode]]. e2817f17a3b09f8a16156a76e4f9a318aa1cf8a6 Hard mode 0 292 406 2022-12-13T18:09:14Z Retroded4 81697 Created page with "[[File:Hard mode.png|alt=Level sign showing 2?.|thumb|"2?" sign which displays upon entering '''hard mode'''.|238x238px]] '''Hard mode''' is a secret gamemode, entered by entering the second level with 0 [[Coins]]. Upon meeting this criteria, the sign displayed to mark the second level will show <code>2?</code> instead of simply <code>2</code>. The only change between this mode and a normal run is that the [[Difficulty]] is instantly maxed (in other words, as if the play..." wikitext text/x-wiki [[File:Hard mode.png|alt=Level sign showing 2?.|thumb|"2?" sign which displays upon entering '''hard mode'''.|238x238px]] '''Hard mode''' is a secret gamemode, entered by entering the second level with 0 [[Coins]]. Upon meeting this criteria, the sign displayed to mark the second level will show <code>2?</code> instead of simply <code>2</code>. The only change between this mode and a normal run is that the [[Difficulty]] is instantly maxed (in other words, as if the player is playing levels 10 or above). Upon reaching [[Home]] in this mode, the player is rewarded the [[File:HardmodeBadge.png|frameless|20x20px|link=Badges]] [[Badges|Hard mode Badge]]. df2db0a289bb6a270686e19fcea830cf358f7e66 File:Hard mode.png 6 293 407 2022-12-13T18:10:15Z Retroded4 81697 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Fiona 0 2 409 4 2022-12-14T19:16:02Z Retroded4 81697 wikitext text/x-wiki {{ShopkeeperNav}} {{Shopkeeper |image1=Fiona Default.png }} '''Fiona''' is one of the four [[:Category:Shopkeepers|Shopkeepers]], located in [[Shops]]. Like the other shopkeepers, if the player has an available [[:Category:Upgrades|Upgrade]] slot, she will offer the player an uprgade. ==Shop listing== ===Upgrades=== She will offer a selection of 3 upgrades, or 4 if the player has the [[Reusable Bag]] uprgade. She will never offer upgrades the player already has. ===Item shop=== Once the player has chosen a desired upgrade, or if the player has no upgrade slots remaining, she will offer some [[:category:Items|Items]]. {| class="fandom-table" ! style="text-align:center" |'''Item''' | style="text-align:center" |[[File:Items1.png|48x48px|link=Apple]]<br><small>[[Apple]]</small> | style="text-align:center" |[[File:ShopItems 8.png|48x48px|link=Dark Roast]]<br><small>[[Dark Roast]]</small> | style="text-align:center" |[[File:ShopItems 9.png|48x48px|link=Caramel Latte]]<br><small>[[Caramel Latte]]</small> | style="text-align:center" |[[File:Shield Repair.png|48x48px|link=Shield Repair]]<br><small>[[Shield Repair]]</small> |- ! style="text-align:center" |'''Availability''' | style="text-align:center" |<small>Always</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the level number is odd.</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the level number is even.</small> | style="text-align:center" class="mw-collapsible mw-collapsed" data-expandtext="Conditional &#9660;" data-collapsetext="&#9650;" |<small>If the player has the Wooden Shield equipped, but the shield has been used up.</small> |- !'''Base price''' | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 40 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 30 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 60 | style="text-align:center" |[[File:Coins.png|16x16px|link=Coins]] 100 |} ==Quotes== {| |'''When encountered''' *''"*yawn* hey, welcome"'' *''"Hey. What's up?"'' *''"Oh, it's you."'' <small>(when encountered after meeting before)</small> *''"Back again, huh?"'' <small>(when encountered after meeting before)</small> *''"Why'd I get the night shift..."'' <small>(when encountered at [[Night]])</small> *''"Woah. You look like crap."'' <small>(when encountered on one health)</small> |- |'''On the upgrades screen''' *''"Need any of this junk?"'' *''"Trying to clear out, need anything?"'' |- |'''On the item shop screen''' *''"What can I get you?"'' *''"So, did you wanna pay for something...?"'' *''"Sure."'' <small>(when an [[Apple]] is bought)</small> *''"House blend. Enjoy"'' <small>(when a [[Dark Roast]] is bought)</small> *''"Drink up while it's hot."'' <small>(when a [[Dark Roast]] is bought)</small> *''"At this rate, you'll be up for a week."'' <small>(when eight [[Dark Roast|Dark Roasts]] are bought, attaining the [[Coffee Badge]])</small> *''"(...how much coffee is enough??)"'' <small>(when eight [[Dark Roast|Dark Roasts]] are bought, attaining the [[Coffee Badge]])</small> *''"You're gonna love this."'' <small>(when a [[Caramel Latte]] is bought)</small> *''"Hope it's not too sweet."'' <small>(when a [[Caramel Latte]] is bought)</small> *''"Don't break it again, ok?"'' <small>(when a [[Shield Repair]] is bought)</small> *''"How did you break this so easily, anyway?"'' <small>(when a [[Shield Repair]] is bought)</small> *''"Almost as good as I make it."'' <small>(when served the [[Teapot]])</small> *''"If you're trying to impress me... not bad!"'' <small>(when served the [[Teapot]])</small> *''"That's a good cup of tea."'' <small>(when served the [[Teapot]])</small> |- |'''When leaving''' *''"Thanks! See ya 'round."'' *''"Stop by whenever."'' *''"Really? Nothing?"'' <small>(if nothing is bought)</small> *''"You know we sell drinks, right?"'' <small>(if only [[Apple|Apples]] or [[Shield Repair|Shield Repairs]] are bought)</small> *''"Just so you know, this is a coffee shop."'' <small>(if only [[Apple|Apples]] or [[Shield Repair|Shield Repairs]] are bought)</small> |} ==Trivia== *Fiona is a wolf. *Before update 1.3, Fiona would only show up if the player ended the level with the [[Star Power]] effect active, if conditions for [[Momo]] and [[Gilda]] to show up were not met. This has now been scrapped. [[Category:Shopkeepers]] 3a6bfd1a8c667d75eda3a63de65f6e36fb0ca2d8 MediaWiki:Common.css 8 264 410 372 2022-12-15T14:32:08Z Pcj 1919 1.39 tweaks css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap { display: flex; flex-wrap: wrap; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .left { flex: 5 5 500px; min-width: 400px; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .right { flex: 1 1 240px; min-width: 200px; border: 1px solid #ccc; border-radius: 5px; padding: 0.75em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 4e981076f17786b274496e95319c0889c200b973 415 410 2023-01-13T16:55:42Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } .#p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap { display: flex; flex-wrap: wrap; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .left { flex: 5 5 500px; min-width: 400px; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .right { flex: 1 1 240px; min-width: 200px; border: 1px solid #ccc; border-radius: 5px; padding: 0.75em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 1195993b57666ffa34f7f7c4df6773ea3ce624eb 416 415 2023-01-13T16:57:11Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap { display: flex; flex-wrap: wrap; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .left { flex: 5 5 500px; min-width: 400px; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .wrap .right { flex: 1 1 240px; min-width: 200px; border: 1px solid #ccc; border-radius: 5px; padding: 0.75em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { font-size: 16px; text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 2 2 400px; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 800px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media screen and (max-width: 1600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gameplay .a li { margin-top: 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5em; list-style: none; } @media screen and (max-width: 1400px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .gallery ul img { display: block; width: 100% !important; height: auto !important; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 4e981076f17786b274496e95319c0889c200b973 418 416 2023-01-13T17:11:43Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #8a888b; border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; align-items: center; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; box-shadow: 0 0 3px rgba(255, 255, 255, 0.25); } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 5800f6897e7c714943e074b2c5c64e5167e7ddf4 419 418 2023-01-13T17:12:13Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; align-items: center; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; box-shadow: 0 0 3px rgba(255, 255, 255, 0.25); } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 6429f8eb57a63c01573b1399ac7596107c53c075 424 419 2023-01-13T17:19:04Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; align-items: center; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; box-shadow: 0 0 3px rgba(255, 255, 255, 0.25); } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } ff35a2ffb3774767e54cab309c9543e272a7d0a0 426 424 2023-01-13T17:26:00Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; align-items: center; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 240px; max-height: 160px; box-shadow: 0 0 3px rgba(255, 255, 255, 0.25); } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { display: grid; grid-template-columns: repeat(auto-fill, 240px); gap: 0.5em 1em; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 0e91d24c0be5b41835fdc3d1a954eeea77bedde8 427 426 2023-01-13T17:26:37Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; align-items: center; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 240px; max-height: 160px; box-shadow: 0 0 3px rgba(255, 255, 255, 0.25); } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > div { display: grid; grid-template-columns: repeat(auto-fill, 240px); gap: 0.5em 1em; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } b628bd69ae7121a5614b30fd7d50d21c571e0497 429 427 2023-01-13T17:27:31Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; align-items: center; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 240px; max-height: 160px; box-shadow: 0 0 3px rgba(255, 255, 255, 0.25); } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: repeat(auto-fill, 240px); gap: 0.5em 1em; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } afe4634399b3b66a121314a374e0478866039516 431 429 2023-01-13T17:29:24Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; align-items: center; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 240px; max-height: 160px; box-shadow: 0 0 3px rgba(255, 255, 255, 0.25); } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: repeat(auto-fill, 240px); gap: 0.5em 1em; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 6ca3cec39760a4f9a85983bd0bfbec8597951b71 432 431 2023-01-13T17:30:34Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#012e59; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: #2763a2; /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; align-items: center; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 240px; max-height: 160px; box-shadow: 0 0 3px rgba(255, 255, 255, 0.25); } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: repeat(auto-fill, 240px); gap: 0.5em 1em; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 65289fb43cfcf2f74c6d505cb0c6431777937f52 433 432 2023-01-13T17:31:24Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; align-items: center; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 240px; max-height: 160px; box-shadow: 0 0 3px rgba(255, 255, 255, 0.25); } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: repeat(auto-fill, 240px); gap: 0.5em 1em; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } df5b76e76d480b7f92dbeb4aa957337ec947300c 434 433 2023-01-13T17:31:43Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; align-items: center; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 240px; max-height: 160px; box-shadow: 0 0 3px rgba(255, 255, 255, 0.25); } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1em; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 6a19a4d6f20e4249260cbf26ccf2be6747a53d3c 435 434 2023-01-13T17:34:34Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; align-items: center; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 240px; max-height: 160px; box-shadow: 0 0 3px rgba(255, 255, 255, 0.25); } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 0; white-space: nowrap; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 8b915daebef61b746062c6429d4f827c28f7880c 437 435 2023-01-13T17:35:07Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; align-items: center; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 0; white-space: nowrap; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 7eed30bf930eb8e03ae1d4a27cbe8b2163dfd521 438 437 2023-01-13T17:35:30Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; align-items: center; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 1.5em; margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 0; white-space: nowrap; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 1274b8ef7596015626e05503969e7d39c00efebf 439 438 2023-01-13T17:35:50Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; align-items: center; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 1.5em; margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 0; white-space: nowrap; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 66eb2dacb6ed000cdcdcea0f0859f498f64af195 440 439 2023-01-13T17:36:31Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; align-items: center; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } e90f313864b2418f0551c4985655d3ba34d0304a 441 440 2023-01-13T17:37:47Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; align-items: center; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } a5e2ab9cc162666f84e6546a1980a2cc9491744f 443 441 2023-01-13T17:38:20Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } f6cf3a1c309e8aedaa5bc1498c1166e62b91540d 444 443 2023-01-13T17:40:10Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 53c74b95ab4a8c1bbdee259d47725c7549791528 445 444 2023-01-13T17:41:59Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 73b2d4c55d98839ef9cfccc9064bd8f181805e01 446 445 2023-01-13T17:42:30Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 8b9823768b3c205d2895b79458f36ff8f1f25096 447 446 2023-01-13T17:43:54Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } a6cced3a500e345ef7222c90c704dee90447ef7e 448 447 2023-01-13T17:44:36Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (min-width: 1080px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 5abeeee5b2044f14f16b3009fec8f6dc539ad3c8 449 448 2023-01-13T17:44:56Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 7faae107f78b1699e2fb0843ee4203b1a280ab59 450 449 2023-01-13T17:45:45Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) and (min-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 646ab3911c50d0dee27dcc07aa2943302954e6aa 451 450 2023-01-13T17:47:21Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } @media (max-width: 720px) { body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) and (min-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 55d13c6fd8e0aa01bf4de068f506d41db81ca68c 452 451 2023-01-13T17:48:19Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } @media (max-width: 720px) { body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) and (min-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } @media (min-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links > ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links > ul li { margin-left: 1em; white-space: nowrap; } } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 8cdcb64f55fc06ddbb505812ebaccb7bb6784716 Ronnie 0 232 411 307 2022-12-21T19:32:02Z 174.5.80.239 0 Grammar wikitext text/x-wiki {{CharacterNav}} {{Characters |image1=Ronnie Hat Art.png |caption1=Ronnie's in-game artwork. |attack_count=3 |unlock_criteria=Reach level 4. }}{{quote|A deceptively dangerous cat! Deadly sharp claws can slash through anything standing in your way.}} '''Ronnie''' is one of the four [[:category:Characters|Characters]], unlockable after the player reaches level 4 in a run. ==Attacks== [[File:Ronnie (default attack).gif|thumb|border|Ronnie's default attack.]] She forms a crescent-like shape with scratches directly infront of her, significatly shorter than the other characters' attacks. This attack pierces infinitely. ===[[Solar Ring]]=== [[File:Ronnie (Solar Ring attack).gif|border|thumb|Ronnie's attack with the [[Solar Ring]] equipped.]] With a fully charged attack, she will also release three frontrunning horizontal scratches directly infront of her, dissipating after a similar amount of time to [[Chiki|Chiki's]] attack. These scratches also infintely pierce and can travel through blocks. ===[[Lunar Ring]]=== [[File:Ronnie (Lunar Ring attack).gif|thumb|Ronnie's attack with the [[Lunar Ring]] equipped.]] With a fully charged attack, her scratches increase in size vertically by ~50%. This attack also pierces infinitely. ===Union attack=== Her union attack combines the effect of both of the former. == Upgrade slots== As custom, she only has 5 upgrade slots to begin with. {| class="fandom-table" ! style="text-align:center" |'''Upgrade slot''' | style="text-align:center" |6 | style="text-align:center" |7 | style="text-align:center" |8 | style="text-align:center" |9 | style="text-align:center" |10 |- ! style="text-align:center" |'''Price''' | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 200 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 300 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 400 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 500 | style="text-align:center" |[[File:Gems.png|16x16px|link=Gems]] 600 |} ==Strategies== *Her short attack has a good synergy with the [[Phoenix Candle]], due to the infinite pierce, and can give the attack similar qualities to Chiki's. ==Trivia== *Ronnie was based on dvdfu's pet cat, with the same name. *Ronnie goes by She/Her pronouns.<ref>https://discord.com/channels/851225811197100032/899411333466980412/967926601557872650</ref> ==References== <references /> 16f9bb65c5a58a450cde212ddfdc8c485d83e73e Chiki Wiki 0 28 412 401 2023-01-06T19:50:19Z Dvdfu 88846 wikitext text/x-wiki <div class="wrap"> <div style="text-align: center; font-size: large;">Welcome to the</div> <div style="text-align: center; font-size: xxx-large;">'''Chiki Wiki'''</div> <div style="text-align: center;">the official community guide for ''Chiki's Chase''.</div> <div style="text-align: center;">Please feel free to contribute by writing new articles or expanding existing ones.</div> <h2>About ''Chiki's Chase''</h2> <div> ''Chiki's Chase'' is an endless action 2D runner with rogue-lite elements. Starring the fearless bird '''Chiki''' and their animal friends, journey through a magical & perilous land, visit '''Shopkeepers''' for '''Items''' & '''Upgrades''', and try to make it '''Home'''! </div> <h2>Versions</h2> * iOS * Android <h2>Gameplay</h2> * Playable Characters * Upgrades * Items * Shopkeepers * Enemies * Obstacles * Star Power * Home * Achievements <h2>Official Links</h2> <div> * [https://www.chikischase.com Official Website] * [https://www.chikischase.com Bandcamp OST] * [https://www.speedrun.com/chikis_chase Speedrun Leaderboards] * [https://discord.gg/jQUh6m7nCt Discord Server] * [https://twitter.com/ChikisChase Twitter] </div> [[Category:{{SITENAME}}]] __NOTITLE__ 8ed927cf97d9cab5cc0fa4ae778cedc348f88f55 413 412 2023-01-06T19:51:16Z Dvdfu 88846 wikitext text/x-wiki <div style="text-align: center; font-size: large;">Welcome to the</div> <div style="text-align: center; font-size: xxx-large;">'''Chiki Wiki'''</div> <div style="text-align: center;">the official community guide for ''Chiki's Chase''.</div> <div style="text-align: center;">Please feel free to contribute by writing new articles or expanding existing ones.</div> <h2>About ''Chiki's Chase''</h2> <div> ''Chiki's Chase'' is an endless action 2D runner with rogue-lite elements. Starring the fearless bird '''Chiki''' and their animal friends, journey through a magical & perilous land, visit '''Shopkeepers''' for '''Items''' & '''Upgrades''', and try to make it '''Home'''! </div> <h2>Versions</h2> <div> * iOS * Android </div> <h2>Gameplay</h2> <div> * Playable Characters * Upgrades * Items * Shopkeepers * Enemies * Obstacles * Star Power * Home * Achievements </div> <h2>Official Links</h2> <div> * [https://www.chikischase.com Official Website] * [https://www.chikischase.com Bandcamp OST] * [https://www.speedrun.com/chikis_chase Speedrun Leaderboards] * [https://discord.gg/jQUh6m7nCt Discord Server] * [https://twitter.com/ChikisChase Twitter] </div> [[Category:{{SITENAME}}]] __NOTITLE__ a285112130a804b2f93e834c9e2cefa11a2c8fd6 414 413 2023-01-13T15:13:54Z Westgrass 40 wikitext text/x-wiki __NOTOC__ __NOTITLE__ <div style="text-align: center; font-size: large;">Welcome to the</div> <div style="text-align: center; font-size: xxx-large;">'''Chiki Wiki'''</div> <div style="text-align: center;">the official community guide for ''Chiki's Chase''.</div> <div style="text-align: center;">Please feel free to contribute by writing new articles or expanding existing ones.</div> <h2>About ''Chiki's Chase''</h2> <div> ''Chiki's Chase'' is an endless action 2D runner with rogue-lite elements. Starring the fearless bird '''Chiki''' and their animal friends, journey through a magical & perilous land, visit '''Shopkeepers''' for '''Items''' & '''Upgrades''', and try to make it '''Home'''! </div> <h2>Versions</h2> <div> * iOS * Android </div> <h2>Gameplay</h2> <div> * Playable Characters * Upgrades * Items * Shopkeepers * Enemies * Obstacles * Star Power * Home * Achievements </div> <h2>Official Links</h2> <div> * [https://www.chikischase.com Official Website] * [https://www.chikischase.com Bandcamp OST] * [https://www.speedrun.com/chikis_chase Speedrun Leaderboards] * [https://discord.gg/jQUh6m7nCt Discord Server] * [https://twitter.com/ChikisChase Twitter] </div> [[Category:{{SITENAME}}]] __NOTITLE__ b03d6b2effd99dc45cc0bc705a5da72f4c24402a 417 414 2023-01-13T17:09:44Z Westgrass 40 wikitext text/x-wiki __NOTITLE__ __NOTOC__ <div class="content-wrap"><!-- --><div class="l"><!-- --><div class="box header"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official '''Chiki Wiki'''</h2><!-- --><p>The official community guide for ''Chiki's Chase''.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --></div><!-- --><div class="box game"><!-- --><h2>About ''Chiki's Chase''</h2><!-- --><div>''Chiki's Chase'' is an endless action 2D runner with rogue-lite elements. Starring the fearless bird '''Chiki''' and their animal friends, journey through a magical & perilous land, visit '''Shopkeepers''' for '''Items''' & '''Upgrades''', and try to make it '''Home'''!</div><!-- --></div><!-- --><div class="box version"><!-- --><h2>Versions</h2><!-- --><ul><!-- --><li class="ios">[[iOS]]</li><!-- --><li class="android">[[Android]]</li><!-- --></ul><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><ul><!-- --><li>[[Playable Characters]]</li><!-- --><li>[[Upgrades]]</li><!-- --><li>[[Items]]</li><!-- --><li>[[Shopkeepers]]</li><!-- --><li>[[Enemies]]</li><!-- --><li>[[Obstacles]]</li><!-- --><li>[[Star Power]]</li><!-- --><li>[[Home]]</li><!-- --><li>[[Achievements]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- div.l --><div class="r"><!-- --><div class="box links"><!-- --><h2>Official Links</h2><!-- --><div><!-- --><li>[https://www.chikischase.com Official Website]</li><!-- --><li>[https://www.chikischase.com Bandcamp OST]</li><!-- --><li>[https://www.speedrun.com/chikis_chase Speedrun Leaderboards]</li><!-- --><li>[https://discord.gg/jQUh6m7nCt Discord Server]</li><!-- --><li>[https://twitter.com/ChikisChase Twitter]</li><!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Monster Outbreak Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- div.r --></div> <div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[{{SITENAME}}/editcopy|here]]</span></div></div> [[category:{{SITENAME}}]] bf774cfe6745f721f9032fca9fc8ad69ef397904 420 417 2023-01-13T17:14:18Z Westgrass 40 wikitext text/x-wiki __NOTITLE__ __NOTOC__ <div class="content-wrap"><!-- --><div class="l"><!-- --><div class="box header"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official '''Chiki Wiki'''</h2><!-- --><p>The official community guide for ''Chiki's Chase''.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --></div><!-- --><div class="box game"><!-- --><h2>About ''Chiki's Chase''</h2><!-- --><div><p>''[[Chiki's Chase]]'' is an endless action 2D runner with rogue-lite elements. Starring the fearless bird '''[[Chiki]]''' and their animal friends, journey through a magical & perilous land, visit '''[[Shopkeepers]]''' for '''[[Items]]''' & '''[[Upgrades]]''', and try to make it '''[[Home]]'''!</p></div><!-- --></div><!-- --><div class="box version"><!-- --><h2>Versions</h2><!-- --><ul><!-- --><li class="ios">[[iOS]]</li><!-- --><li class="android">[[Android]]</li><!-- --></ul><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><ul><!-- --><li>[[Playable Characters]]</li><!-- --><li>[[Upgrades]]</li><!-- --><li>[[Items]]</li><!-- --><li>[[Shopkeepers]]</li><!-- --><li>[[Enemies]]</li><!-- --><li>[[Obstacles]]</li><!-- --><li>[[Star Power]]</li><!-- --><li>[[Home]]</li><!-- --><li>[[Achievements]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- div.l --><div class="r"><!-- --><div class="box links"><!-- --><h2>Official Links</h2><!-- --><div><!-- --><li>[https://www.chikischase.com Official Website]</li><!-- --><li>[https://www.chikischase.com Bandcamp OST]</li><!-- --><li>[https://www.speedrun.com/chikis_chase Speedrun Leaderboards]</li><!-- --><li>[https://discord.gg/jQUh6m7nCt Discord Server]</li><!-- --><li>[https://twitter.com/ChikisChase Twitter]</li><!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Monster Outbreak Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- div.r --></div> <div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[{{SITENAME}}/editcopy|here]]</span></div></div> [[category:{{SITENAME}}]] 40790cb9cdf2b59c0f08fe1a472e540039c63958 421 420 2023-01-13T17:16:30Z Westgrass 40 wikitext text/x-wiki __NOTITLE__ __NOTOC__ <div class="content-wrap"><!-- --><div class="l"><!-- --><div class="box header"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official '''Chiki Wiki'''</h2><!-- --><p>The official community guide for ''Chiki's Chase''.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --></div><!-- --><div class="box game"><!-- --><h2>About ''Chiki's Chase''</h2><!-- --><div><!-- -->[[File:Keyart.jpg|480px|link=]]<!-- --><p>''Chiki's Chase'' is an endless action 2D runner with rogue-lite elements. Starring the fearless bird '''Chiki''' and their animal friends, journey through a magical & perilous land, visit '''Shopkeepers''' for '''Items''' & '''Upgrades''', and try to make it '''Home'''!</p><!-- --></div><!-- --></div><!-- --><div class="box version"><!-- --><h2>Versions</h2><!-- --><ul><!-- --><li class="ios">[[iOS]]</li><!-- --><li class="android">[[Android]]</li><!-- --></ul><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><ul><!-- --><li>[[Playable Characters]]</li><!-- --><li>[[Upgrades]]</li><!-- --><li>[[Items]]</li><!-- --><li>[[Shopkeepers]]</li><!-- --><li>[[Enemies]]</li><!-- --><li>[[Obstacles]]</li><!-- --><li>[[Star Power]]</li><!-- --><li>[[Home]]</li><!-- --><li>[[Achievements]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- div.l --><div class="r"><!-- --><div class="box links"><!-- --><h2>Official Links</h2><!-- --><div><!-- --><li>[https://www.chikischase.com Official Website]</li><!-- --><li>[https://www.chikischase.com Bandcamp OST]</li><!-- --><li>[https://www.speedrun.com/chikis_chase Speedrun Leaderboards]</li><!-- --><li>[https://discord.gg/jQUh6m7nCt Discord Server]</li><!-- --><li>[https://twitter.com/ChikisChase Twitter]</li><!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Monster Outbreak Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- div.r --></div> <div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[{{SITENAME}}/editcopy|here]]</span></div></div> [[category:{{SITENAME}}]] 889074c98c31d10b3c26fc542a664c646422b702 423 421 2023-01-13T17:18:27Z Westgrass 40 wikitext text/x-wiki __NOTITLE__ __NOTOC__ <div class="content-wrap"><!-- --><div class="l"><!-- --><div class="box header"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official '''Chiki Wiki'''</h2><!-- --><p>The official community guide for ''Chiki's Chase''.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --></div><!-- --><div class="box game"><!-- --><h2>About ''Chiki's Chase''</h2><!-- --><div><!-- -->[[File:Keyart.jpg|480px|link=]]<!-- --><p>''[[Chiki's Chase]]'' is an endless action 2D runner with rogue-lite elements. Starring the fearless bird '''[[Chiki]]''' and their animal friends, journey through a magical & perilous land, visit '''[[Shopkeepers]]''' for '''[[Items]]''' & '''[[Upgrades]]''', and try to make it '''[[Home]]'''!</p><!-- --></div><!-- --></div><!-- --><div class="box version"><!-- --><h2>Versions</h2><!-- --><ul><!-- --><li class="ios">[[iOS]]</li><!-- --><li class="android">[[Android]]</li><!-- --></ul><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><ul><!-- --><li>[[Playable Characters]]</li><!-- --><li>[[Upgrades]]</li><!-- --><li>[[Items]]</li><!-- --><li>[[Shopkeepers]]</li><!-- --><li>[[Enemies]]</li><!-- --><li>[[Obstacles]]</li><!-- --><li>[[Star Power]]</li><!-- --><li>[[Home]]</li><!-- --><li>[[Achievements]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- div.l --><div class="r"><!-- --><div class="box links"><!-- --><h2>Official Links</h2><!-- --><div><!-- --><li>[https://www.chikischase.com Official Website]</li><!-- --><li>[https://www.chikischase.com Bandcamp OST]</li><!-- --><li>[https://www.speedrun.com/chikis_chase Speedrun Leaderboards]</li><!-- --><li>[https://discord.gg/jQUh6m7nCt Discord Server]</li><!-- --><li>[https://twitter.com/ChikisChase Twitter]</li><!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Monster Outbreak Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- div.r --></div> <div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[{{SITENAME}}/editcopy|here]]</span></div></div> [[category:{{SITENAME}}]] d08b1270a415e8c1ea2633431fc8d1d92386f2ad 425 423 2023-01-13T17:22:54Z Westgrass 40 wikitext text/x-wiki __NOTITLE__ __NOTOC__ <div class="content-wrap"><!-- --><div class="l"><!-- --><div class="box header"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official '''Chiki Wiki'''</h2><!-- --><p>The official community guide for ''Chiki's Chase''.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --></div><!-- --><div class="box game"><!-- --><h2>About ''Chiki's Chase''</h2><!-- --><div><!-- -->[[File:Keyart.jpg|480px|link=]]<!-- --><p>''[[Chiki's Chase]]'' is an endless action 2D runner with rogue-lite elements. Starring the fearless bird '''[[Chiki]]''' and their animal friends, journey through a magical & perilous land, visit '''[[Shopkeepers]]''' for '''[[Items]]''' & '''[[Upgrades]]''', and try to make it '''[[Home]]'''!</p><!-- --></div><!-- --></div><!-- --><div class="box version"><!-- --><h2>Versions</h2><!-- --><ul><!-- --><li class="ios">[[iOS]]</li><!-- --><li class="android">[[Android]]</li><!-- --></ul><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><ul><!-- --><li>[[Playable Characters]]</li><!-- --><li>[[Upgrades]]</li><!-- --><li>[[Items]]</li><!-- --><li>[[Shopkeepers]]</li><!-- --><li>[[Enemies]]</li><!-- --><li>[[Obstacles]]</li><!-- --><li>[[Star Power]]</li><!-- --><li>[[Home]]</li><!-- --><li>[[Achievements]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- div.l --><div class="r"><!-- --><div class="box links"><!-- --><h2>Official Links</h2><!-- --><div><!-- --><ul><!-- --><li>[https://www.chikischase.com Official Website]</li><!-- --><li>[https://www.chikischase.com Bandcamp OST]</li><!-- --><li>[https://www.speedrun.com/chikis_chase Speedrun Leaderboards]</li><!-- --><li>[https://discord.gg/jQUh6m7nCt Discord Server]</li><!-- --><li>[https://twitter.com/ChikisChase Twitter]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Monster Outbreak Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- div.r --></div> <div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[{{SITENAME}}/editcopy|here]]</span></div></div> [[category:{{SITENAME}}]] 8763a6bb63f1b903a1e70e8a87c5b8fcc2ab5ea1 428 425 2023-01-13T17:26:45Z Westgrass 40 wikitext text/x-wiki __NOTITLE__ __NOTOC__ <div class="content-wrap"><!-- --><div class="l"><!-- --><div class="box header"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official '''Chiki Wiki'''</h2><!-- --><p>The official community guide for ''Chiki's Chase''.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --></div><!-- --><div class="box version"><!-- --><h2>Versions</h2><!-- --><ul><!-- --><li class="ios">[[iOS]]</li><!-- --><li class="android">[[Android]]</li><!-- --></ul><!-- --></div><!-- --><div class="box game"><!-- --><h2>About ''Chiki's Chase''</h2><!-- --><div><!-- -->[[File:Keyart.jpg|480px|link=]]<!-- --><p>''[[Chiki's Chase]]'' is an endless action 2D runner with rogue-lite elements. Starring the fearless bird '''[[Chiki]]''' and their animal friends, journey through a magical & perilous land, visit '''[[Shopkeepers]]''' for '''[[Items]]''' & '''[[Upgrades]]''', and try to make it '''[[Home]]'''!</p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><ul><!-- --><li>[[Playable Characters]]</li><!-- --><li>[[Upgrades]]</li><!-- --><li>[[Items]]</li><!-- --><li>[[Shopkeepers]]</li><!-- --><li>[[Enemies]]</li><!-- --><li>[[Obstacles]]</li><!-- --><li>[[Star Power]]</li><!-- --><li>[[Home]]</li><!-- --><li>[[Achievements]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- div.l --><div class="r"><!-- --><div class="box links"><!-- --><h2>Official Links</h2><!-- --><div><!-- --><ul><!-- --><li>[https://www.chikischase.com Official Website]</li><!-- --><li>[https://www.chikischase.com Bandcamp OST]</li><!-- --><li>[https://www.speedrun.com/chikis_chase Speedrun Leaderboards]</li><!-- --><li>[https://discord.gg/jQUh6m7nCt Discord Server]</li><!-- --><li>[https://twitter.com/ChikisChase Twitter]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Monster Outbreak Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- div.r --></div> <div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[{{SITENAME}}/editcopy|here]]</span></div></div> [[category:{{SITENAME}}]] 97d1d3a11436be679f67e6a012f6ac1e442aa37c 430 428 2023-01-13T17:28:21Z Westgrass 40 wikitext text/x-wiki __NOTITLE__ __NOTOC__ <div class="content-wrap"><!-- --><div class="l"><!-- --><div class="box header"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official '''Chiki Wiki'''</h2><!-- --><p>The official community guide for ''Chiki's Chase''.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --></div><!-- --><div class="box version"><!-- --><h2>Versions</h2><!-- --><ul><!-- --><li class="ios">[[iOS]]</li><!-- --><li class="android">[[Android]]</li><!-- --></ul><!-- --></div><!-- --><div class="wrap"><!-- --><div class="box game"><!-- --><h2>About ''Chiki's Chase''</h2><!-- --><div><!-- -->[[File:Keyart.jpg|480px|link=]]<!-- --><p>''[[Chiki's Chase]]'' is an endless action 2D runner with rogue-lite elements. Starring the fearless bird '''[[Chiki]]''' and their animal friends, journey through a magical & perilous land, visit '''[[Shopkeepers]]''' for '''[[Items]]''' & '''[[Upgrades]]''', and try to make it '''[[Home]]'''!</p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><ul><!-- --><li>[[Playable Characters]]</li><!-- --><li>[[Upgrades]]</li><!-- --><li>[[Items]]</li><!-- --><li>[[Shopkeepers]]</li><!-- --><li>[[Enemies]]</li><!-- --><li>[[Obstacles]]</li><!-- --><li>[[Star Power]]</li><!-- --><li>[[Home]]</li><!-- --><li>[[Achievements]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- div.wrap --></div><!-- div.l --><div class="r"><!-- --><div class="box links"><!-- --><h2>Official Links</h2><!-- --><div><!-- --><ul><!-- --><li>[https://www.chikischase.com Official Website]</li><!-- --><li>[https://www.chikischase.com Bandcamp OST]</li><!-- --><li>[https://www.speedrun.com/chikis_chase Speedrun Leaderboards]</li><!-- --><li>[https://discord.gg/jQUh6m7nCt Discord Server]</li><!-- --><li>[https://twitter.com/ChikisChase Twitter]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Monster Outbreak Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- div.r --></div> <div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[{{SITENAME}}/editcopy|here]]</span></div></div> [[category:{{SITENAME}}]] 6749dfc22d48a525bdda3c219a871371ffc3f425 436 430 2023-01-13T17:34:50Z Westgrass 40 wikitext text/x-wiki __NOTITLE__ __NOTOC__ <div class="content-wrap"><!-- --><div class="l"><!-- --><div class="box header"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official '''Chiki Wiki'''</h2><!-- --><p>The official community guide for ''Chiki's Chase''.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --></div><!-- --><div class="box version"><!-- --><h2>Versions</h2><!-- --><ul><!-- --><li class="ios">[[iOS]]</li><!-- --><li class="android">[[Android]]</li><!-- --></ul><!-- --></div><!-- --><div class="wrap"><!-- --><div class="box game"><!-- --><h2>About ''Chiki's Chase''</h2><!-- --><div><!-- -->[[File:Keyart.jpg|240px|link=]]<!-- --><p>''[[Chiki's Chase]]'' is an endless action 2D runner with rogue-lite elements. Starring the fearless bird '''[[Chiki]]''' and their animal friends, journey through a magical & perilous land, visit '''[[Shopkeepers]]''' for '''[[Items]]''' & '''[[Upgrades]]''', and try to make it '''[[Home]]'''!</p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><ul><!-- --><li>[[Playable Characters]]</li><!-- --><li>[[Upgrades]]</li><!-- --><li>[[Items]]</li><!-- --><li>[[Shopkeepers]]</li><!-- --><li>[[Enemies]]</li><!-- --><li>[[Obstacles]]</li><!-- --><li>[[Star Power]]</li><!-- --><li>[[Home]]</li><!-- --><li>[[Achievements]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- div.wrap --></div><!-- div.l --><div class="r"><!-- --><div class="box links"><!-- --><h2>Official Links</h2><!-- --><div><!-- --><ul><!-- --><li>[https://www.chikischase.com Official Website]</li><!-- --><li>[https://www.chikischase.com Bandcamp OST]</li><!-- --><li>[https://www.speedrun.com/chikis_chase Speedrun Leaderboards]</li><!-- --><li>[https://discord.gg/jQUh6m7nCt Discord Server]</li><!-- --><li>[https://twitter.com/ChikisChase Twitter]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Monster Outbreak Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- div.r --></div> <div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[{{SITENAME}}/editcopy|here]]</span></div></div> [[category:{{SITENAME}}]] 9a68c7d1a37c6254d2530abe30c8b92f955949df 442 436 2023-01-13T17:37:51Z Westgrass 40 wikitext text/x-wiki __NOTITLE__ __NOTOC__ <div class="content-wrap"><!-- --><div class="l"><!-- --><div class="box header"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official '''Chiki Wiki'''</h2><!-- --><p>The official community guide for ''Chiki's Chase''.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --></div><!-- --><div class="box version"><!-- --><h2>Versions</h2><!-- --><ul><!-- --><li class="ios">[[iOS]]</li><!-- --><li class="android">[[Android]]</li><!-- --></ul><!-- --></div><!-- --><div class="wrap"><!-- --><div class="box game"><!-- --><h2>About ''Chiki's Chase''</h2><!-- --><div><!-- -->[[File:Keyart.jpg|180px|link=]]<!-- --><p>''[[Chiki's Chase]]'' is an endless action 2D runner with rogue-lite elements. Starring the fearless bird '''[[Chiki]]''' and their animal friends, journey through a magical & perilous land, visit '''[[Shopkeepers]]''' for '''[[Items]]''' & '''[[Upgrades]]''', and try to make it '''[[Home]]'''!</p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><ul><!-- --><li>[[Playable Characters]]</li><!-- --><li>[[Upgrades]]</li><!-- --><li>[[Items]]</li><!-- --><li>[[Shopkeepers]]</li><!-- --><li>[[Enemies]]</li><!-- --><li>[[Obstacles]]</li><!-- --><li>[[Star Power]]</li><!-- --><li>[[Home]]</li><!-- --><li>[[Achievements]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- div.wrap --></div><!-- div.l --><div class="r"><!-- --><div class="box links"><!-- --><h2>Official Links</h2><!-- --><div><!-- --><ul><!-- --><li>[https://www.chikischase.com Official Website]</li><!-- --><li>[https://www.chikischase.com Bandcamp OST]</li><!-- --><li>[https://www.speedrun.com/chikis_chase Speedrun Leaderboards]</li><!-- --><li>[https://discord.gg/jQUh6m7nCt Discord Server]</li><!-- --><li>[https://twitter.com/ChikisChase Twitter]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Monster Outbreak Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- div.r --></div> <div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[{{SITENAME}}/editcopy|here]]</span></div></div> [[category:{{SITENAME}}]] deb27816fd22e6ba1ca810b674497a3bdf0529a2 File:Keyart.jpg 6 294 422 2023-01-13T17:16:52Z Westgrass 40 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 MediaWiki:Common.css 8 264 453 452 2023-01-13T17:48:51Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } @media (max-width: 720px) { body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) and (min-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links > ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links > ul li { margin-left: 1em; white-space: nowrap; } } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } dca0fd04335d30659117514eba7d14cfb454cda4 454 453 2023-01-13T17:50:22Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } @media (max-width: 720px) { body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) and (min-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } } @media (max-width: 900px) and (max-width: 450px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul { grid-template-columns: 1fr; } } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul li { margin-left: 1em; white-space: nowrap; } } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } a485ca7bc6ee1b27cb9929d9a71c091711caf72e 455 454 2023-01-13T17:50:48Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } @media (max-width: 720px) { body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) and (min-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } @media (max-width: 900px) and (min-width: 450px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul li { margin-left: 1em; white-space: nowrap; } } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } c2ad3dd5b9ded710eacdca8291ad5cad37a776e2 456 455 2023-01-13T17:52:27Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } @media (max-width: 720px) { body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) and (min-width: 900px), (max-width: 420px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } @media (max-width: 900px) and (min-width: 450px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul li { margin-left: 1em; white-space: nowrap; } } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 741b3590f00f9e293d89e71e94ea51af32eb2d6c 457 456 2023-01-13T17:55:43Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version ul { list-style: none; margin: 0 auto; max-width: 700px; display: flex; gap: 2em; justify-content: space-around; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } @media (max-width: 720px) { body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) and (min-width: 900px), (max-width: 420px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } @media (max-width: 900px) and (min-width: 450px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul li { margin-left: 1em; white-space: nowrap; } } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 821c094005ec9ececf21d5dba2a739c3e8fe567d 458 457 2023-01-13T17:57:19Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version ul { list-style: none; margin: 0.5em auto 0; max-width: 700px; display: flex; gap: 2em; justify-content: space-around; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li { display: inline-block; font-size: 1.5em; padding: 0.5rem 2rem; background: #249fde; border-radius: 100px; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } @media (max-width: 720px) { body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) and (min-width: 900px), (max-width: 420px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } @media (max-width: 900px) and (min-width: 450px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul li { margin-left: 1em; white-space: nowrap; } } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } cffffa12690a2f76121fd10861095ee20c0ff1d4 459 458 2023-01-13T17:57:59Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version ul { list-style: none; margin: 0.5em auto 0; max-width: 700px; display: flex; gap: 2em; justify-content: space-around; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li { display: inline-block; font-size: 1.5em; padding: 0.5rem 2rem; background: #249fde; border-radius: 100px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li a { display: block; color: #fff; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } @media (max-width: 720px) { body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) and (min-width: 900px), (max-width: 420px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } @media (max-width: 900px) and (min-width: 450px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul li { margin-left: 1em; white-space: nowrap; } } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 4a64d5ce9c5889a52b44a890ac31c4e177e0babe 460 459 2023-01-13T17:59:19Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version ul { list-style: none; margin: 0.5em auto 0; max-width: 700px; display: flex; gap: 2em; justify-content: space-around; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li { display: inline-block; font-size: 1.5em; padding: 0.5rem 2rem; background: #249fde; border-radius: 100px; box-shadow: 0rem 3px 4px 0rem rgba(0, 0, 0, 0.25); } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li a { display: block; color: #fff; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } @media (max-width: 720px) { body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) and (min-width: 900px), (max-width: 420px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } @media (max-width: 900px) and (min-width: 450px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul li { margin-left: 1em; white-space: nowrap; } } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } f8bc67e8c080bbe5bfcbad2ba0b513ebd4fe70fb 461 460 2023-01-13T18:03:43Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version ul { list-style: none; margin: 0.5em auto 0; max-width: 700px; display: flex; gap: 2em; justify-content: space-around; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li { display: inline-block; font-size: 1.5em; padding: 0.5rem 2rem; background: #249fde; border-radius: 100px; box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.25); } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li a { display: block; color: #fff; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li a.ios:before { content: ""; display: block; width: 1em; height: 1em; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='%23fff'%3E%3Cpath d='M33.4,26.7c-0.5,1.7-1.4,3.4-2.5,5.1c-1.8,2.7-3.5,4-5.3,4c-0.7,0-1.6-0.2-2.9-0.7c-1.2-0.4-2.2-0.7-3.1-0.7 c-0.8,0-1.8,0.2-2.9,0.7c-1.1,0.5-2,0.7-2.7,0.7c-2.1,0-4.1-1.8-6.2-5.3c-2-3.6-3-7-3-10.4c0-3.1,0.8-5.7,2.3-7.7c1.5-2,3.5-3,5.8-3 c1,0,2.2,0.2,3.6,0.6c1.4,0.4,2.4,0.6,2.8,0.6c0.6,0,1.6-0.2,2.9-0.7c1.4-0.5,2.6-0.7,3.6-0.7c1.6,0,3.1,0.4,4.4,1.3 c0.7,0.5,1.4,1.2,2.1,2.1c-1.1,0.9-1.9,1.7-2.3,2.4c-0.9,1.3-1.3,2.7-1.3,4.3c0,1.7,0.5,3.2,1.4,4.6C31.1,25.4,32.2,26.3,33.4,26.7 L33.4,26.7z M25.7,2.5c0,0.8-0.2,1.8-0.6,2.8c-0.4,1-1,2-1.9,2.8c-0.7,0.7-1.5,1.2-2.2,1.5c-0.5,0.2-1.2,0.3-2.1,0.3 c0-2,0.6-3.8,1.6-5.3c1-1.5,2.7-2.5,5.1-3c0,0,0,0.1,0.1,0.2c0,0.1,0,0.2,0.1,0.2c0,0.1,0,0.1,0,0.2S25.7,2.5,25.7,2.5L25.7,2.5z'%3E%3C/path%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; background-position: center center; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } @media (max-width: 720px) { body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) and (min-width: 900px), (max-width: 420px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } @media (max-width: 900px) and (min-width: 450px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul li { margin-left: 1em; white-space: nowrap; } } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } cc03b06da364de0bdeef2c6349730126639bd8e5 462 461 2023-01-13T18:04:43Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version ul { list-style: none; margin: 0.5em auto 0; max-width: 700px; display: flex; gap: 2em; justify-content: space-around; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li { display: inline-block; font-size: 1.5em; padding: 0.5rem 2rem; background: #249fde; border-radius: 100px; box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.25); } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li a { display: block; color: #fff; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li .ios a::before { content: ""; display: block; width: 1em; height: 1em; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='%23fff'%3E%3Cpath d='M33.4,26.7c-0.5,1.7-1.4,3.4-2.5,5.1c-1.8,2.7-3.5,4-5.3,4c-0.7,0-1.6-0.2-2.9-0.7c-1.2-0.4-2.2-0.7-3.1-0.7 c-0.8,0-1.8,0.2-2.9,0.7c-1.1,0.5-2,0.7-2.7,0.7c-2.1,0-4.1-1.8-6.2-5.3c-2-3.6-3-7-3-10.4c0-3.1,0.8-5.7,2.3-7.7c1.5-2,3.5-3,5.8-3 c1,0,2.2,0.2,3.6,0.6c1.4,0.4,2.4,0.6,2.8,0.6c0.6,0,1.6-0.2,2.9-0.7c1.4-0.5,2.6-0.7,3.6-0.7c1.6,0,3.1,0.4,4.4,1.3 c0.7,0.5,1.4,1.2,2.1,2.1c-1.1,0.9-1.9,1.7-2.3,2.4c-0.9,1.3-1.3,2.7-1.3,4.3c0,1.7,0.5,3.2,1.4,4.6C31.1,25.4,32.2,26.3,33.4,26.7 L33.4,26.7z M25.7,2.5c0,0.8-0.2,1.8-0.6,2.8c-0.4,1-1,2-1.9,2.8c-0.7,0.7-1.5,1.2-2.2,1.5c-0.5,0.2-1.2,0.3-2.1,0.3 c0-2,0.6-3.8,1.6-5.3c1-1.5,2.7-2.5,5.1-3c0,0,0,0.1,0.1,0.2c0,0.1,0,0.2,0.1,0.2c0,0.1,0,0.1,0,0.2S25.7,2.5,25.7,2.5L25.7,2.5z'%3E%3C/path%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; background-position: center center; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } @media (max-width: 720px) { body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) and (min-width: 900px), (max-width: 420px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } @media (max-width: 900px) and (min-width: 450px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul li { margin-left: 1em; white-space: nowrap; } } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 3e75e16b877eaad7acfb07b2b6d6b1db0b695242 463 462 2023-01-13T18:05:26Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version ul { list-style: none; margin: 0.5em auto 0; max-width: 700px; display: flex; gap: 2em; justify-content: space-around; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li { display: inline-block; font-size: 1.5em; padding: 0.5rem 2rem; background: #249fde; border-radius: 100px; box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.25); } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li a { display: block; color: #fff; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version .ios a::before { content: ""; display: block; width: 1em; height: 1em; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='%23fff'%3E%3Cpath d='M33.4,26.7c-0.5,1.7-1.4,3.4-2.5,5.1c-1.8,2.7-3.5,4-5.3,4c-0.7,0-1.6-0.2-2.9-0.7c-1.2-0.4-2.2-0.7-3.1-0.7 c-0.8,0-1.8,0.2-2.9,0.7c-1.1,0.5-2,0.7-2.7,0.7c-2.1,0-4.1-1.8-6.2-5.3c-2-3.6-3-7-3-10.4c0-3.1,0.8-5.7,2.3-7.7c1.5-2,3.5-3,5.8-3 c1,0,2.2,0.2,3.6,0.6c1.4,0.4,2.4,0.6,2.8,0.6c0.6,0,1.6-0.2,2.9-0.7c1.4-0.5,2.6-0.7,3.6-0.7c1.6,0,3.1,0.4,4.4,1.3 c0.7,0.5,1.4,1.2,2.1,2.1c-1.1,0.9-1.9,1.7-2.3,2.4c-0.9,1.3-1.3,2.7-1.3,4.3c0,1.7,0.5,3.2,1.4,4.6C31.1,25.4,32.2,26.3,33.4,26.7 L33.4,26.7z M25.7,2.5c0,0.8-0.2,1.8-0.6,2.8c-0.4,1-1,2-1.9,2.8c-0.7,0.7-1.5,1.2-2.2,1.5c-0.5,0.2-1.2,0.3-2.1,0.3 c0-2,0.6-3.8,1.6-5.3c1-1.5,2.7-2.5,5.1-3c0,0,0,0.1,0.1,0.2c0,0.1,0,0.2,0.1,0.2c0,0.1,0,0.1,0,0.2S25.7,2.5,25.7,2.5L25.7,2.5z'%3E%3C/path%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; background-position: center center; } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } @media (max-width: 720px) { body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) and (min-width: 900px), (max-width: 420px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } @media (max-width: 900px) and (min-width: 450px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul li { margin-left: 1em; white-space: nowrap; } } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } d6c03479e64900ebfd82a9cb1f5ee6a8bd39a4e8 464 463 2023-01-13T18:09:44Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version ul { list-style: none; margin: 0.5em auto 0; max-width: 700px; display: flex; gap: 2em; justify-content: space-around; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li { font-size: 1.5em; padding: 0.5rem 2rem; background: #249fde; border-radius: 100px; box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.25); display: flex; align-items: center; gap: 0.25em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li a { display: block; color: #fff; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li a::before { content: ""; display: inline-block; margin-right: 0.5em; width: 1em; height: 1em; background-size: contain; background-repeat: no-repeat; background-position: center center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version .ios a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='%23fff'%3E%3Cpath d='M33.4,26.7c-0.5,1.7-1.4,3.4-2.5,5.1c-1.8,2.7-3.5,4-5.3,4c-0.7,0-1.6-0.2-2.9-0.7c-1.2-0.4-2.2-0.7-3.1-0.7 c-0.8,0-1.8,0.2-2.9,0.7c-1.1,0.5-2,0.7-2.7,0.7c-2.1,0-4.1-1.8-6.2-5.3c-2-3.6-3-7-3-10.4c0-3.1,0.8-5.7,2.3-7.7c1.5-2,3.5-3,5.8-3 c1,0,2.2,0.2,3.6,0.6c1.4,0.4,2.4,0.6,2.8,0.6c0.6,0,1.6-0.2,2.9-0.7c1.4-0.5,2.6-0.7,3.6-0.7c1.6,0,3.1,0.4,4.4,1.3 c0.7,0.5,1.4,1.2,2.1,2.1c-1.1,0.9-1.9,1.7-2.3,2.4c-0.9,1.3-1.3,2.7-1.3,4.3c0,1.7,0.5,3.2,1.4,4.6C31.1,25.4,32.2,26.3,33.4,26.7 L33.4,26.7z M25.7,2.5c0,0.8-0.2,1.8-0.6,2.8c-0.4,1-1,2-1.9,2.8c-0.7,0.7-1.5,1.2-2.2,1.5c-0.5,0.2-1.2,0.3-2.1,0.3 c0-2,0.6-3.8,1.6-5.3c1-1.5,2.7-2.5,5.1-3c0,0,0,0.1,0.1,0.2c0,0.1,0,0.2,0.1,0.2c0,0.1,0,0.1,0,0.2S25.7,2.5,25.7,2.5L25.7,2.5z'%3E%3C/path%3E%3C/svg%3E"); } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version .android a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='%23fff'%3E%3Cpath d='M28.5,22.6c-0.8,0-1.5-0.7-1.5-1.5c0-0.8,0.7-1.5,1.5-1.5c0.8,0,1.5,0.7,1.5,1.5C30.1,22,29.4,22.6,28.5,22.6 M11.5,22.6 c-0.8,0-1.5-0.7-1.5-1.5c0-0.8,0.7-1.5,1.5-1.5c0.8,0,1.5,0.7,1.5,1.5C13,22,12.3,22.6,11.5,22.6 M29.1,13.4L32.1,8 c0.2-0.3,0.1-0.7-0.2-0.9C31.6,7,31.2,7.1,31,7.4l-3.1,5.4c-2.4-1.1-5.1-1.7-7.9-1.7c-2.9,0-5.5,0.6-7.9,1.7L9,7.4 C8.8,7.1,8.4,7,8.1,7.2C7.8,7.3,7.7,7.7,7.9,8l3.1,5.3C5.6,16.2,2,21.6,1.5,27.9h37C38,21.6,34.4,16.2,29.1,13.4'%3E%3C/path%3E%3C/svg%3E"); } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } @media (max-width: 720px) { body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) and (min-width: 900px), (max-width: 420px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } @media (max-width: 900px) and (min-width: 450px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul li { margin-left: 1em; white-space: nowrap; } } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } 67d75e1d68676a587e2dc6b1034a745f8331fef9 465 464 2023-01-13T18:10:58Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* be set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #dfe2cd; --theme-text-color-placeholder: #999; --theme-control-text-color: #681010; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #000; --theme-text-color-note: #6f95af; --theme-text-color-em: #012e59; --theme-heading-color: #012e59; /*** link text color ***/ --theme-link-color: #006cb0; --theme-link-color-hover: #3895d0; --theme-link-color-visited: #418cb9; --theme-link-color-redlink: #bf0017; /*** body background ***/ --theme-site-background: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background2: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; --theme-site-background3: #41629d url(/images/5/57/Site-background.png) top center / 64px 64px ; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 364px; --theme-site-logo-height: 150px; /* sidebar/content common */ --theme-box-border-width: 0px; --theme-box-border-color: #012e59; --theme-box-background: none; /* common */ --theme-border-color:#2763a2; --theme-highlight-background: rgba(0, 108, 176, 0.15); --theme-button-background: #87AEC9; --theme-button-border-color: #006cb0; --theme-button-background-active: #a7c7dc; --theme-button-border-color-active: #006cb0; --theme-page-base-background: rgba(255,255,255,0.65); /*** sidebar ***/ --theme-sidebar-box-background: rgba(255,255,255,1); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color); --theme-sidebar-heading-background: none; --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 0px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color); --theme-sidebar-heading-arrow-color-hover-2: var(--theme-sidebar-heading-arrow-color-2); --theme-sidebar-heading-text-color-2: var(--theme-heading-color); --theme-sidebar-box-background-2: var(--theme-sidebar-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: #fff; --theme-sidebar-dropdown-border: 1px solid #888989; /*** navbar ***/ --theme-navbar-background: none; --theme-navbar-border-color: var(--theme-border-color); --theme-navbar-tab-background: rgba(255,255,255,0.7); --theme-navbar-tab-box-shadow: none; --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: #fff; --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-content-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color); --theme-navbar-tab-dropdown-background: #fff; --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: none; --theme-navbar-search-input-background: rgba(255,255,255); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: inherit; --theme-navbar-search-button-background: #b4c8de; --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: #c4db9c; --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: #fff; --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-sidebar-box-background); /*** content box ***/ --theme-content-background: rgba(255,255,255,1); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0; /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 1px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: #1d1d1d; --theme-footer-background: #b2cadb; --theme-footer-link-color: #336879; --theme-footer-link-color-hover: #319a94; --theme-footer-border-radius: 0 0 5px 5px; /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; /* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */ color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; color: var(--theme-heading-color); } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); caret-color: var(--theme-text-color); } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, #firstHeading, .infocard .main-heading .hgroup, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .pixel img, .pixel, #mw-imagepage-section-filehistory img { image-rendering: pixelated; /*for chrome*/ image-rendering: crisp-edges; /*for firefox*/ } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-logo-box-height: 200px; --main-layout-logo-offset: 12px; --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 180px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width)); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 5px black); } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; color: var(--theme-sidebar-heading-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* section heading */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { margin: 0; padding: 6px 10px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 15px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--theme-sidebar-heading-text-color); } /* arrow icon */ #mw-panel .portal .vector-menu-heading::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed .vector-menu-heading { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 6px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box for nav+content+#footer ****/ #mw-page-base { border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; box-sizing: border-box; background: var(--theme-page-base-background); } /**** navbar ****/ #mw-head { margin: var(--theme-box-border-width) var(--theme-box-border-width) 0; padding: var(--main-box-padding) 0 0 0; background: var(--theme-navbar-background); position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: auto; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after { content: ""; display: block; border-bottom: 1px solid var(--theme-navbar-border-color); } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #left-navigation::before { flex: 0 0 var(--main-box-padding); } #mw-head #left-navigation::after { flex: 1 1 auto; } #mw-head #right-navigation { justify-content: flex-end; } #mw-head #right-navigation::before { flex: 1 1 auto; } #mw-head #right-navigation::after { flex: 0 0 var(--main-box-padding); } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + .vector-menu-heading { z-index: 0; } .vectorMenuCheckbox:focus + .vector-menu-heading { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vector-menu-tabs { padding: 0; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } .vectorTabs li::after, .vector-menu-dropdown::after { content: ""; display: block; width: calc(var(--main-box-padding) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); position: absolute; left: 100%; margin-left: 1px; } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover .vector-menu-heading span, div.vector-menu-dropdown.open .vector-menu-heading span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); border-bottom: 0; padding-bottom: 1px; } .vectorTabs li.selected:hover { background: var(--theme-navbar-tab-selected-background); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after, .vector-menu-dropdown:hover .vector-menu-heading span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0; padding: 0 0 6px calc(var(--main-layout-gap) / 2); border-bottom: 1px solid var(--theme-navbar-tab-border-color); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0 var(--theme-box-border-width); box-sizing: border-box; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ color: var(--theme-heading-color); } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); background-clip: padding-box; padding: var(--main-box-padding); margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); border-radius: var(--theme-footer-border-radius); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } .mw-footer li { color: var(--theme-footer-text-color); } #footer a { color: var(--theme-footer-link-color); } #footer a:hover { color: var(--theme-footer-link-color-hover); } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; height: 35px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; background: var(--theme-sidebar-box-background-2); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; color: var(--theme-sidebar-heading-text-color-2); } #mw-panel #p-logo + .portal.expanded .vector-menu-heading, #mw-panel .portal.expanded .vector-menu-heading, #mw-panel #p-logo + .portal:hover .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-panel .portal .vector-menu-heading::after { border-color: var(--theme-sidebar-heading-arrow-color-2) transparent; } #mw-panel .portal .vector-menu-heading:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent; } #mw-navigation #mw-panel .portal .vector-menu-heading::after { margin-left: 4px; } #mw-panel div.portal .vector-menu-heading::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border: var(--theme-sidebar-dropdown-border); border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 41px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } #mw-head #p-search { border-bottom: 0; padding-right: calc(var(--main-box-padding) / 2); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; background: var(--theme-site-background2); } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; margin-left: 0; margin-right: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: 6px 12px 6px 6px; border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); top: -110px; right: -4px; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal .vector-menu-heading, #mw-panel .portal .vector-menu-heading { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal .vector-menu-heading::after, #mw-panel .portal.collapsed .vector-menu-heading::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded .vector-menu-heading::after, #mw-panel div.portal:hover .vector-menu-heading::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { :root { background: var(--theme-site-background3); } /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -92px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover .vector-menu-heading span::before, div.vector-menu-dropdown.open .vector-menu-heading span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions .vector-menu-heading span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal .vector-menu-heading::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: var(--theme-box-border-width) solid var(--theme-box-border-color); border-radius: 5px; transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } .portable-infobox { border: 1px solid var(--theme-border-color); } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Chiki_Wiki.action-view h1.firstHeading, body.rootpage-Chiki_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Chiki_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Chiki_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box { border: 1px solid #b2cadb; border-radius: var(--main-box-border-radius); padding: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-Chiki_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l { flex: 5 5 800px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 2 2 300px; display: flex; flex-direction: column; gap: 1em; } @media (max-width: 900px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .l, body.rootpage-Chiki_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 auto; gap: 0.5em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version ul { list-style: none; margin: 0.5em auto 0; display: flex; gap: 5em; justify-content: center; } @media (max-width: 450px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version ul { gap: 2em; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li { font-size: 1.5em; padding: 0.5rem 2rem; background: #249fde; border-radius: 100px; box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.25); display: flex; align-items: center; gap: 0.25em; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li a { display: block; color: #fff; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version li a::before { content: ""; display: inline-block; margin-right: 0.5em; width: 1em; height: 1em; background-size: contain; background-repeat: no-repeat; background-position: center center; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version .ios a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='%23fff'%3E%3Cpath d='M33.4,26.7c-0.5,1.7-1.4,3.4-2.5,5.1c-1.8,2.7-3.5,4-5.3,4c-0.7,0-1.6-0.2-2.9-0.7c-1.2-0.4-2.2-0.7-3.1-0.7 c-0.8,0-1.8,0.2-2.9,0.7c-1.1,0.5-2,0.7-2.7,0.7c-2.1,0-4.1-1.8-6.2-5.3c-2-3.6-3-7-3-10.4c0-3.1,0.8-5.7,2.3-7.7c1.5-2,3.5-3,5.8-3 c1,0,2.2,0.2,3.6,0.6c1.4,0.4,2.4,0.6,2.8,0.6c0.6,0,1.6-0.2,2.9-0.7c1.4-0.5,2.6-0.7,3.6-0.7c1.6,0,3.1,0.4,4.4,1.3 c0.7,0.5,1.4,1.2,2.1,2.1c-1.1,0.9-1.9,1.7-2.3,2.4c-0.9,1.3-1.3,2.7-1.3,4.3c0,1.7,0.5,3.2,1.4,4.6C31.1,25.4,32.2,26.3,33.4,26.7 L33.4,26.7z M25.7,2.5c0,0.8-0.2,1.8-0.6,2.8c-0.4,1-1,2-1.9,2.8c-0.7,0.7-1.5,1.2-2.2,1.5c-0.5,0.2-1.2,0.3-2.1,0.3 c0-2,0.6-3.8,1.6-5.3c1-1.5,2.7-2.5,5.1-3c0,0,0,0.1,0.1,0.2c0,0.1,0,0.2,0.1,0.2c0,0.1,0,0.1,0,0.2S25.7,2.5,25.7,2.5L25.7,2.5z'%3E%3C/path%3E%3C/svg%3E"); } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.version .android a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='%23fff'%3E%3Cpath d='M28.5,22.6c-0.8,0-1.5-0.7-1.5-1.5c0-0.8,0.7-1.5,1.5-1.5c0.8,0,1.5,0.7,1.5,1.5C30.1,22,29.4,22.6,28.5,22.6 M11.5,22.6 c-0.8,0-1.5-0.7-1.5-1.5c0-0.8,0.7-1.5,1.5-1.5c0.8,0,1.5,0.7,1.5,1.5C13,22,12.3,22.6,11.5,22.6 M29.1,13.4L32.1,8 c0.2-0.3,0.1-0.7-0.2-0.9C31.6,7,31.2,7.1,31,7.4l-3.1,5.4c-2.4-1.1-5.1-1.7-7.9-1.7c-2.9,0-5.5,0.6-7.9,1.7L9,7.4 C8.8,7.1,8.4,7,8.1,7.2C7.8,7.3,7.7,7.7,7.9,8l3.1,5.3C5.6,16.2,2,21.6,1.5,27.9h37C38,21.6,34.4,16.2,29.1,13.4'%3E%3C/path%3E%3C/svg%3E"); } body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { display: flex; gap: 1em; } @media (max-width: 720px) { body.rootpage-Chiki_Wiki.action-view #bodyContent div.wrap { flex-direction: column; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 1366px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.game img { display: none; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay { flex: 1 1 auto; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } @media (max-width: 1530px) and (min-width: 1366px), (max-width: 1080px) and (min-width: 900px), (max-width: 420px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul { grid-template-columns: 1fr 1fr; } } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.gameplay > ul li { margin-left: 1em; white-space: nowrap; } @media (max-width: 900px) and (min-width: 450px) { body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 1.5em; margin: 0.5em 0 0 0; } body.rootpage-Chiki_Wiki.action-view #bodyContent .box.links ul li { margin-left: 1em; white-space: nowrap; } } /*********** Main page END ****************/ .mp-flex { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 15px; } .mp-left { flex: 4; } .mp-right { flex: 1 275px; } bad5e2292ec1a30b47629d66d0642372b16b6b99 Chiki Wiki 0 28 466 442 2023-01-13T18:14:34Z Westgrass 40 wikitext text/x-wiki __NOTITLE__ __NOTOC__ <div class="content-wrap"><!-- --><div class="l"><!-- --><div class="box header"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official '''Chiki Wiki'''</h2><!-- --><p>The official community guide for ''Chiki's Chase''.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --></div><!-- --><div class="box version"><!-- --><!--<h2>Versions</h2>--><!-- --><ul><!-- --><li class="ios">[[iOS]]</li><!-- --><li class="android">[[Android]]</li><!-- --></ul><!-- --></div><!-- --><div class="wrap"><!-- --><div class="box game"><!-- --><h2>About ''Chiki's Chase''</h2><!-- --><div><!-- -->[[File:Keyart.jpg|180px|link=]]<!-- --><p>''[[Chiki's Chase]]'' is an endless action 2D runner with rogue-lite elements. Starring the fearless bird '''[[Chiki]]''' and their animal friends, journey through a magical & perilous land, visit '''[[Shopkeepers]]''' for '''[[Items]]''' & '''[[Upgrades]]''', and try to make it '''[[Home]]'''!</p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><ul><!-- --><li>[[Playable Characters]]</li><!-- --><li>[[Upgrades]]</li><!-- --><li>[[Items]]</li><!-- --><li>[[Shopkeepers]]</li><!-- --><li>[[Enemies]]</li><!-- --><li>[[Obstacles]]</li><!-- --><li>[[Star Power]]</li><!-- --><li>[[Home]]</li><!-- --><li>[[Achievements]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- div.wrap --></div><!-- div.l --><div class="r"><!-- --><div class="box links"><!-- --><h2>Official Links</h2><!-- --><div><!-- --><ul><!-- --><li>[https://www.chikischase.com Official Website]</li><!-- --><li>[https://www.chikischase.com Bandcamp OST]</li><!-- --><li>[https://www.speedrun.com/chikis_chase Speedrun Leaderboards]</li><!-- --><li>[https://discord.gg/jQUh6m7nCt Discord Server]</li><!-- --><li>[https://twitter.com/ChikisChase Twitter]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Monster Outbreak Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- div.r --></div> <div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[{{SITENAME}}/editcopy|here]]</span></div></div> [[category:{{SITENAME}}]] 120e71cf50df17782cf7a4d58352e4208f924ee7 469 466 2023-01-17T03:26:47Z Pcj 1919 wikitext text/x-wiki __NOTITLE__ __NOTOC__ <div class="content-wrap"><!-- --><div class="l"><!-- --><div class="box header"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official '''Chiki Wiki'''</h2><!-- --><p>The official community guide for ''Chiki's Chase''.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --></div><!-- --><div class="box version"><!-- --><!--<h2>Versions</h2>--><!-- --><ul><!-- --><li class="ios">[[iOS]]</li><!-- --><li class="android">[[Android]]</li><!-- --></ul><!-- --></div><!-- --><div class="wrap"><!-- --><div class="box game"><!-- --><h2>About ''Chiki's Chase''</h2><!-- --><div><!-- -->[[File:Keyart.jpg|180px|link=]]<!-- --><p>''[[Chiki's Chase]]'' is an endless action 2D runner with rogue-lite elements. Starring the fearless bird '''[[Chiki]]''' and their animal friends, journey through a magical & perilous land, visit '''[[Shopkeepers]]''' for '''[[Items]]''' & '''[[Upgrades]]''', and try to make it '''[[Home]]'''!</p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><ul><!-- --><li>[[Playable Characters]]</li><!-- --><li>[[Upgrades]]</li><!-- --><li>[[Items]]</li><!-- --><li>[[Shopkeepers]]</li><!-- --><li>[[Enemies]]</li><!-- --><li>[[Obstacles]]</li><!-- --><li>[[Star Power]]</li><!-- --><li>[[Home]]</li><!-- --><li>[[Achievements]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- div.wrap --></div><!-- div.l --><div class="r"><!-- --><div class="box links"><!-- --><h2>Official Links</h2><!-- --><div><!-- --><ul><!-- --><li>[https://www.chikischase.com Official Website]</li><!-- --><li>[https://www.chikischase.com Bandcamp OST]</li><!-- --><li>[https://www.speedrun.com/chikis_chase Speedrun Leaderboards]</li><!-- --><li>[https://discord.gg/jQUh6m7nCt Discord Server]</li><!-- --><li>[https://twitter.com/ChikisChase Twitter]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Chiki Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- div.r --></div> <div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[{{SITENAME}}/editcopy|here]]</span></div></div> [[category:{{SITENAME}}]] 29d286a3225e2fcdfaec434dcf94e2c91ae00879 470 469 2023-01-17T14:55:01Z Westgrass 40 wikitext text/x-wiki __NOTITLE__ __NOTOC__ <div class="content-wrap"><!-- --><div class="l"><!-- --><div class="box header"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official '''Chiki Wiki'''</h2><!-- --><p>The official community guide for ''Chiki's Chase''.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --></div><!-- --><div class="box version"><!-- --><!--<h2>Versions</h2>--><!-- --><ul><!-- --><li class="ios">[[iOS]]</li><!-- --><li class="android">[[Android]]</li><!-- --></ul><!-- --></div><!-- --><div class="wrap"><!-- --><div class="box game"><!-- --><h2>About ''Chiki's Chase''</h2><!-- --><div><!-- -->[[File:Keyart.jpg|180px|link=]]<!-- --><p>''[[Chiki's Chase]]'' is an endless action 2D runner with rogue-lite elements. Starring the fearless bird '''[[Chiki]]''' and their animal friends, journey through a magical & perilous land, visit '''[[Shopkeepers]]''' for '''[[Items]]''' & '''[[Upgrades]]''', and try to make it '''[[Home]]'''!</p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><ul><!-- --><li>[[Playable Characters]]</li><!-- --><li>[[Upgrades]]</li><!-- --><li>[[Items]]</li><!-- --><li>[[Shopkeepers]]</li><!-- --><li>[[Enemies]]</li><!-- --><li>[[Obstacles]]</li><!-- --><li>[[Star Power]]</li><!-- --><li>[[Home]]</li><!-- --><li>[[Achievements]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- div.wrap --></div><!-- div.l --><div class="r"><!-- --><div class="box links"><!-- --><h2>Official Links</h2><!-- --><div><!-- --><ul><!-- --><li>[https://www.chikischase.com Official Website]</li><!-- --><li>[https://www.chikischase.com Bandcamp OST]</li><!-- --><li>[https://www.speedrun.com/chikis_chase Speedrun Leaderboards]</li><!-- --><li>[https://discord.gg/jQUh6m7nCt Discord Server]</li><!-- --><li>[https://twitter.com/ChikisChase Twitter]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to {{SITENAME}}! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- div.r --></div> <div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[{{SITENAME}}/editcopy|here]]</span></div></div> [[category:{{SITENAME}}]] e3b2495710c29798f5fd4055f6f0bab131ca48de 471 470 2023-01-18T16:57:30Z Retroded 35088 wikitext text/x-wiki __NOTITLE__ __NOTOC__ <div class="content-wrap"><!-- --><div class="l"><!-- --><div class="box header"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official '''Chiki Wiki'''</h2><!-- --><p>The official community guide for ''Chiki's Chase''.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --></div><!-- --><div class="box version"><!-- --><!--<h2>Versions</h2>--><!-- --><ul><!-- --><li class="ios">[[iOS]]</li><!-- --><li class="android">[[Android]]</li><!-- --></ul><!-- --></div><!-- --><div class="wrap"><!-- --><div class="box game"><!-- --><h2>About ''Chiki's Chase''</h2><!-- --><div><!-- -->[[File:Keyart.jpg|180px|link=]]<!-- --><p>''[[Chiki's Chase]]'' is an endless action 2D runner with rogue-lite elements. Starring the fearless bird '''[[Chiki]]''' and their animal friends, journey through a magical & perilous land, visit '''[[Shopkeepers]]''' for '''[[Items]]''' & '''[[Upgrades]]''', and try to make it '''[[Home]]'''!</p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><ul><!-- --><li>[[Playable Characters]]</li><!-- --><li>[[Upgrades]]</li><!-- --><li>[[Items]]</li><!-- --><li>[[:Category:Shopkeepers|Shopkeepers]]</li><!-- --><li>[[Enemies]]</li><!-- --><li>[[Obstacles]]</li><!-- --><li>[[Star Power]]</li><!-- --><li>[[Home]]</li><!-- --><li>[[Achievements]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- div.wrap --></div><!-- div.l --><div class="r"><!-- --><div class="box links"><!-- --><h2>Official Links</h2><!-- --><div><!-- --><ul><!-- --><li>[https://www.chikischase.com Official Website]</li><!-- --><li>[https://www.chikischase.com Bandcamp OST]</li><!-- --><li>[https://www.speedrun.com/chikis_chase Speedrun Leaderboards]</li><!-- --><li>[https://discord.gg/jQUh6m7nCt Discord Server]</li><!-- --><li>[https://twitter.com/ChikisChase Twitter]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to {{SITENAME}}! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- div.r --></div> <div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[{{SITENAME}}/editcopy|here]]</span></div></div> [[category:{{SITENAME}}]] 90a817610b33a7b24df7eb86f4b5a4ca79a9d2b6 Upgrades 0 211 467 270 2023-01-16T21:35:37Z TreeIsLife 29909 Redirected page to [[Category:Upgrades]] wikitext text/x-wiki #REDIRECT [[:Category:Upgrades]] 97632556d8ab7c043b1dab03aeb9067cf7c93686 Category:Upgrades 14 37 468 47 2023-01-17T02:20:13Z Oman395 105913 More detail on upgrade selection wikitext text/x-wiki Upgrades are additional effects and abilities acquired while during a run. Shopkeepers offer a random set of 3 free upgrades to choose from (or 4 if the Reusable Bag is equipped). They can also be acquired through Momo's Loot Box, or pre-equipped before the start of a run. 19b45d22d590ac35e7ec2be2d04a7487e9dadac4 Category:Shopkeepers 14 295 472 2023-01-18T17:08:06Z Retroded 35088 Created page with "'''Shopkeepers''' are characters encountered in [[Shops]]. They offer upgrades, and items in exchange for [[Coins]]. The different shopkeepers provide different services and items. == Shopkeepers == {| | [[File:Jack Default.png|128x128px|link=Jack ]] <br> <center>[[Jack]] || [[File:Fiona Default.png|128x128px|link=Fiona]] <br> <center>[[Fiona]] || [[File:Momo default.png|128x128px|link=Momo]] <br> <center>[[Momo]] || [[File:Gilda Default.png|128x128px|link=Momo]] <br> <c..." wikitext text/x-wiki '''Shopkeepers''' are characters encountered in [[Shops]]. They offer upgrades, and items in exchange for [[Coins]]. The different shopkeepers provide different services and items. == Shopkeepers == {| | [[File:Jack Default.png|128x128px|link=Jack ]] <br> <center>[[Jack]] || [[File:Fiona Default.png|128x128px|link=Fiona]] <br> <center>[[Fiona]] || [[File:Momo default.png|128x128px|link=Momo]] <br> <center>[[Momo]] || [[File:Gilda Default.png|128x128px|link=Momo]] <br> <center>[[Gilda]] |} <br> <hr> <br> bdb8df7f153cc240f95d3262c6e51bea177d5fe1 474 472 2023-01-21T10:25:27Z Retroded 35088 wikitext text/x-wiki '''Shopkeepers''' are characters encountered in [[Shops]]. They offer upgrades, and items in exchange for [[Coins]]. The different shopkeepers provide different services and items. == Shopkeepers == {| | [[File:Jack Default.png|128x128px|link=Jack ]] <br> <center>[[Jack]] || [[File:Fiona Default.png|128x128px|link=Fiona]] <br> <center>[[Fiona]] || [[File:Momo default.png|128x128px|link=Momo]] <br> <center>[[Momo]] || [[File:Gilda Default.png|128x128px|link=Gilda]] <br> <center>[[Gilda]] |} <br> <hr> <br> 9f30216070803b67b745357bc91afba7a84fb4e7 File:Gilda Default.png 6 296 473 2023-01-21T10:24:34Z Retroded 35088 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Template:Upgrades 10 297 475 2023-01-21T10:30:56Z Retroded 35088 Created page with "<br><hr style="width:100%;> {| style="width:100%; margin-top:1em; border:1px solid #999; font-size:90%; text-align:center;" |- !colspan="10" style="padding:0.2em 0.5em;" nowrap="nowrap" class="navigationbox" | <span style="color:#FFFFFF;">'''[[:category:Upgrades|Upgrades]]''' <br><small>(click the icon to navigate!)</small></span> |- | style="text-align:center;" |''[[:category:Upgrades|All]]'' | style="text-align:center;" |File:Lucky Magnet.png|32x32px|link=Lucky Magne..." wikitext text/x-wiki <br><hr style="width:100%;> {| style="width:100%; margin-top:1em; border:1px solid #999; font-size:90%; text-align:center;" |- !colspan="10" style="padding:0.2em 0.5em;" nowrap="nowrap" class="navigationbox" | <span style="color:#FFFFFF;">'''[[:category:Upgrades|Upgrades]]''' <br><small>(click the icon to navigate!)</small></span> |- | style="text-align:center;" |''[[:category:Upgrades|All]]'' | style="text-align:center;" |[[File:Lucky Magnet.png|32x32px|link=Lucky Magnet]] | style="text-align:center;" |[[File:Phoenix Candle.png|32x32px|link=Phoenix Candle]] | style="text-align:center;" |[[File:Double-A Batteries.png|32x32px|link=Double-A Batteries]] | style="text-align:center;" |[[File:Money Bag.png|32x32px|link=Money Bag]] | style="text-align:center;" |[[File:Wooden Shield.png|32x32px|link=Wooden Shield]] | style="text-align:center;" |[[File:Blast Boots.png|32x32px|link=Blast Boots]] | style="text-align:center;" |[[File:Shroom Charm.png|32x32px|link=Shroom Charm]] | style="text-align:center;" |[[File:Nimble Feather.png|32x32px|link=Nimble Feather]] | style="text-align:center;" |[[File:Yellow Balloon.png|32x32px|link=Yellow Balloon]] |- | style="text-align:center;" |TBA | style="text-align:center;" |[[File:Sparkling Sapphire.png|32x32px|link=Sparkling Sapphire]] | style="text-align:center;" |[[File:Trusty Pickaxe.png|32x32px|link=Trusty Pickaxe]] | style="text-align:center;" |[[File:Traveller's Map.png|32x32px|link=Traveller's Map]] | style="text-align:center;" |[[File:Star Dust.png|32x32px|link=Star Dust]] | style="text-align:center;" |TBA | style="text-align:center;" |[[File:Reusable Bag.png|32x32px|link=Reusable Bag]] | style="text-align:center;" |[[File:Party Popper.png|32x32px|link=Party Popper]] | style="text-align:center;" |[[File:Mighty Shears.png|32x32px|link=Mighty Shears]] | style="text-align:center;" |[[File:Treasure Tracker.png|32x32px|link=Treasure Tracker]] |- | style="text-align:center;" |[[File:Golden Apple.png|32x32px|link=Golden Apple]] | style="text-align:center;" |[[File:Pocket Cloud.png|32x32px|link=Pocket Cloud]] | style="text-align:center;" |TBA | style="text-align:center;" |TBA | style="text-align:center;" |[[File:Apple Seeds.png|32x32px|link=Apple Seeds]] | style="text-align:center;" |[[File:Toy Rocket.png|32x32px|link=Toy Rocket]] | style="text-align:center;" |[[File:Piggy Bank.png|32x32px|link=Piggy Bank]] | style="text-align:center;" |[[File:Fastball.png|32x32px|link=Fastball]] | style="text-align:center;" |TBA | style="text-align:center;" |TBA |} <noinclude> c67ce9ccce9a1a98adbb89a7f3fc12c97749463e 476 475 2023-01-21T10:31:49Z Retroded 35088 wikitext text/x-wiki <br><hr style="width:100%;> {| style="width:100%; margin-top:1em; border:1px solid #999; font-size:90%; text-align:center;" |- | style="text-align:center;" |''[[:category:Upgrades|All]]'' | style="text-align:center;" |[[File:Lucky Magnet.png|32x32px|link=Lucky Magnet]] | style="text-align:center;" |[[File:Phoenix Candle.png|32x32px|link=Phoenix Candle]] | style="text-align:center;" |[[File:Double-A Batteries.png|32x32px|link=Double-A Batteries]] | style="text-align:center;" |[[File:Money Bag.png|32x32px|link=Money Bag]] | style="text-align:center;" |[[File:Wooden Shield.png|32x32px|link=Wooden Shield]] | style="text-align:center;" |[[File:Blast Boots.png|32x32px|link=Blast Boots]] | style="text-align:center;" |[[File:Shroom Charm.png|32x32px|link=Shroom Charm]] | style="text-align:center;" |[[File:Nimble Feather.png|32x32px|link=Nimble Feather]] | style="text-align:center;" |[[File:Yellow Balloon.png|32x32px|link=Yellow Balloon]] |- | style="text-align:center;" |TBA | style="text-align:center;" |[[File:Sparkling Sapphire.png|32x32px|link=Sparkling Sapphire]] | style="text-align:center;" |[[File:Trusty Pickaxe.png|32x32px|link=Trusty Pickaxe]] | style="text-align:center;" |[[File:Traveller's Map.png|32x32px|link=Traveller's Map]] | style="text-align:center;" |[[File:Star Dust.png|32x32px|link=Star Dust]] | style="text-align:center;" |TBA | style="text-align:center;" |[[File:Reusable Bag.png|32x32px|link=Reusable Bag]] | style="text-align:center;" |[[File:Party Popper.png|32x32px|link=Party Popper]] | style="text-align:center;" |[[File:Mighty Shears.png|32x32px|link=Mighty Shears]] | style="text-align:center;" |[[File:Treasure Tracker.png|32x32px|link=Treasure Tracker]] |- | style="text-align:center;" |[[File:Golden Apple.png|32x32px|link=Golden Apple]] | style="text-align:center;" |[[File:Pocket Cloud.png|32x32px|link=Pocket Cloud]] | style="text-align:center;" |TBA | style="text-align:center;" |TBA | style="text-align:center;" |[[File:Apple Seeds.png|32x32px|link=Apple Seeds]] | style="text-align:center;" |[[File:Toy Rocket.png|32x32px|link=Toy Rocket]] | style="text-align:center;" |[[File:Piggy Bank.png|32x32px|link=Piggy Bank]] | style="text-align:center;" |[[File:Fastball.png|32x32px|link=Fastball]] | style="text-align:center;" |TBA | style="text-align:center;" |TBA |} <noinclude> 963be16bf6815283ffb7a3dcca8d6a19911acd5b 477 476 2023-01-21T10:32:51Z Retroded 35088 wikitext text/x-wiki <br><hr style="width:100%;> {| style="width:100%; margin-top:1em; border:1px solid #999; font-size:90%; text-align:center;" |- !colspan="10" style="padding:0.2em 0.5em;" nowrap="nowrap" class="navigationbox" | '''[[:category:Upgrades|Upgrades]]''' |- | style="text-align:center;" |''[[:category:Upgrades|All]]'' | style="text-align:center;" |[[File:Lucky Magnet.png|32x32px|link=Lucky Magnet]] | style="text-align:center;" |[[File:Phoenix Candle.png|32x32px|link=Phoenix Candle]] | style="text-align:center;" |[[File:Double-A Batteries.png|32x32px|link=Double-A Batteries]] | style="text-align:center;" |[[File:Money Bag.png|32x32px|link=Money Bag]] | style="text-align:center;" |[[File:Wooden Shield.png|32x32px|link=Wooden Shield]] | style="text-align:center;" |[[File:Blast Boots.png|32x32px|link=Blast Boots]] | style="text-align:center;" |[[File:Shroom Charm.png|32x32px|link=Shroom Charm]] | style="text-align:center;" |[[File:Nimble Feather.png|32x32px|link=Nimble Feather]] | style="text-align:center;" |[[File:Yellow Balloon.png|32x32px|link=Yellow Balloon]] |- | style="text-align:center;" |TBA | style="text-align:center;" |[[File:Sparkling Sapphire.png|32x32px|link=Sparkling Sapphire]] | style="text-align:center;" |[[File:Trusty Pickaxe.png|32x32px|link=Trusty Pickaxe]] | style="text-align:center;" |[[File:Traveller's Map.png|32x32px|link=Traveller's Map]] | style="text-align:center;" |[[File:Star Dust.png|32x32px|link=Star Dust]] | style="text-align:center;" |TBA | style="text-align:center;" |[[File:Reusable Bag.png|32x32px|link=Reusable Bag]] | style="text-align:center;" |[[File:Party Popper.png|32x32px|link=Party Popper]] | style="text-align:center;" |[[File:Mighty Shears.png|32x32px|link=Mighty Shears]] | style="text-align:center;" |[[File:Treasure Tracker.png|32x32px|link=Treasure Tracker]] |- | style="text-align:center;" |[[File:Golden Apple.png|32x32px|link=Golden Apple]] | style="text-align:center;" |[[File:Pocket Cloud.png|32x32px|link=Pocket Cloud]] | style="text-align:center;" |TBA | style="text-align:center;" |TBA | style="text-align:center;" |[[File:Apple Seeds.png|32x32px|link=Apple Seeds]] | style="text-align:center;" |[[File:Toy Rocket.png|32x32px|link=Toy Rocket]] | style="text-align:center;" |[[File:Piggy Bank.png|32x32px|link=Piggy Bank]] | style="text-align:center;" |[[File:Fastball.png|32x32px|link=Fastball]] | style="text-align:center;" |TBA | style="text-align:center;" |TBA |} <noinclude> 19914327b4431eb260676a5c6c35155511615c68 Blast Boots 0 288 478 398 2023-01-21T10:33:40Z Retroded 35088 wikitext text/x-wiki {{Upgrade |image1=Blast Boots.png |description=Bouncing off enemies and objects triggers a huge blast |unlock_condition=Defeat 20 enemies using blasts in one game }}The '''Blast Boots''' are an [[:category:Upgrades|Upgrade]], attainable through pre-equipping or selection in [[Shops]], as long as the player has a upgrade slot available. ==Effects== ===Primary=== *Produces a large explosion when bouncing off objects or enemies. *This explosion collects [[Coins]] and damages enemies within the area. *The explosion launches the player slightly higher than they normally would by jumping. <br><br> {{Upgrades}} [[Category:Upgrades]] ca7bcafb8d26736fdc17a5119ee8237561bf95b3 File:Double-A Batteries.png 6 42 479 56 2023-01-21T10:35:36Z Retroded 35088 Retroded uploaded a new version of [[File:Double-A Batteries.png]] wikitext text/x-wiki === kkk === e577d2524626aff22ad6b3316135f73c4d1b1a3f File:Upgrades2.png 6 150 480 182 2023-01-21T10:37:15Z Retroded 35088 Retroded uploaded a new version of [[File:Upgrades2.png]] wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709